dpg.themes#

Attributes#

Functions#

brand_sequential_cmap(...)

edge_sequential_cmap(...)

community_cmap(→ matplotlib.colors.ListedColormap)

class_cmap(→ matplotlib.colors.ListedColormap)

discrete_palette(→ List[str])

feature_color_map(→ Dict[str, Any])

predicate_line_color_map(→ Dict[str, Any])

resolve_theme_context(→ Dict[str, Any])

Module Contents#

dpg.themes.DPG_COLORS: Dict[str, str]#
dpg.themes.DPG_CLASS_PALETTE: List[str]#
dpg.themes.DPG_PREDICATE_LINE_PALETTE: List[str]#
dpg.themes.DPG_OLIVE_CLASS_PALETTE: List[str]#
dpg.themes.LEGACY_COLORS: Dict[str, str]#
dpg.themes.DPG_MPL_STYLE: Dict[str, Any]#
dpg.themes.LEGACY_MPL_STYLE: Dict[str, Any]#
dpg.themes.brand_sequential_cmap() matplotlib.colors.LinearSegmentedColormap[source]#
dpg.themes.edge_sequential_cmap() matplotlib.colors.LinearSegmentedColormap[source]#
dpg.themes.community_cmap() matplotlib.colors.ListedColormap[source]#
dpg.themes.class_cmap(n_classes: int) matplotlib.colors.ListedColormap[source]#
dpg.themes.discrete_palette(n_colors: int) List[str][source]#
dpg.themes.feature_color_map(features: List[str]) Dict[str, Any][source]#
dpg.themes.predicate_line_color_map(features: List[str]) Dict[str, Any][source]#
dpg.themes.resolve_theme_context(theme: str = 'dpg', palette: str = 'default') Dict[str, Any][source]#