ColorMapMenu#
- class ColorMapSpecifier#
- class pyqtgraph.ColorMapMenu(
- *,
- userList=None,
- showGradientSubMenu=False,
- showColorMapSubMenus=False,
- __init__(
- *,
- userList=None,
- showGradientSubMenu=False,
- showColorMapSubMenus=False,
Creates a new ColorMapMenu.
- Parameters:
userList (
list
ofColorMapSpecifier
, optional) – Supported values for ColorMapSpecifier arestr
,(str, str)
,ColorMap
Example:
["viridis", ("glasbey", "colorcet"), ("rainbow", "matplotlib")]
showGradientSubMenu (
bool
, defaultFalse
) – Adds legacy gradients in a submenu.showColorMapSubMenus (
bool
, defaultFalse
) – Adds bundled colormaps and external (colorcet, matplotlib) colormaps in submenus.