pyrfu.plot.use_pyrfu_style#

pyrfu.plot.use_pyrfu_style(name: str = 'default', color_cycle: str = 'pyrfu', fancy_legend: bool = False, usetex: bool = False)[source]#

Setup plot style.

Parameters:
  • name (str, Optional) – Name of the style sheet. Default is “default” (see also https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html).

  • color_cycle (str, Optional) – Name of the color cycle to use. Default is “pyrfu”.

  • fancy_legend (bool, Optional) – Use matplotlib’s fancy legend frame. Default is False.

  • usetex (bool, Optional) – Use LaTeX installation to set text. Default is False. If no LaTeX installation is found, this package will fallback to usetex=False.