set_style (pyleoclim.utils.plotting.set_style)

pyleoclim.utils.plotting.set_style(style='journal', font_scale=1.0)[source]

Modify the visualization style

This function is inspired by [Seaborn](https://github.com/mwaskom/seaborn). See a demo in the example_notebooks folder on GitHub to look at the different styles

Parameters
  • style ({journal,web,matplotlib,_spines, _nospines,_grid,_nogrid}) –

    set the styles for the figure:
    • journal (default): fonts appropriate for paper

    • web: web-like font (e.g. ggplot)

    • matplotlib: the original matplotlib style

    In addition, the following options are available: - _spines/_nospines: allow to show/hide spines - _grid/_nogrid: allow to show gridlines (default: _grid)

  • font_scale (float) – Default is 1. Corresponding to 12 Font Size.