graphinglib.get_styles#
- graphinglib.get_styles(customs: bool = True, gl: bool = True, matplotlib: bool = False, as_dict: bool = False) list[str] [source]#
Returns a list or dict of available styles.
If as_dict is True, dictionary is returned with keys “customs”, “gl”, and “matplotlib” (if applicable).
- Parameters:
- customsbool
Whether to include user created styles. Default is True.
- glbool
Whether to include GL styles. Default is True.
- matplotlibbool
Whether to include Matplotlib styles. Default is False.
- Returns:
- list[str] or dict[str, str]
A list or dict of available styles.