get_style_list

Contents

get_style_list#

lobsterpy.plotting.get_style_list(no_base_style=False, styles=None, **kwargs)[source]#

Get args for matplotlib.style from user input.

Remaining kwargs are collected as a dict and take the highest priority.

Parameters:
  • no_base_style (bool) – If true, do not include lobsterpy_base.mplstyle

  • styles (list[str | dict[str, Any]] | None) – User-requested styles. These can be paths to mplstyle files, the names of known (matplotlib-supplied) styles, or dicts of rcParam options.

  • kwargs – matplotlib-style sheet keyword arguments

Return type:

list[str | dict[str, Any]]