dpg.themes ========== .. py:module:: dpg.themes Attributes ---------- .. autoapisummary:: dpg.themes.DPG_COLORS dpg.themes.DPG_CLASS_PALETTE dpg.themes.DPG_PREDICATE_LINE_PALETTE dpg.themes.DPG_OLIVE_CLASS_PALETTE dpg.themes.LEGACY_COLORS dpg.themes.DPG_MPL_STYLE dpg.themes.LEGACY_MPL_STYLE Functions --------- .. autoapisummary:: dpg.themes.brand_sequential_cmap dpg.themes.edge_sequential_cmap dpg.themes.community_cmap dpg.themes.class_cmap dpg.themes.discrete_palette dpg.themes.feature_color_map dpg.themes.predicate_line_color_map dpg.themes.resolve_theme_context Module Contents --------------- .. py:data:: DPG_COLORS :type: Dict[str, str] .. py:data:: DPG_CLASS_PALETTE :type: List[str] .. py:data:: DPG_PREDICATE_LINE_PALETTE :type: List[str] .. py:data:: DPG_OLIVE_CLASS_PALETTE :type: List[str] .. py:data:: LEGACY_COLORS :type: Dict[str, str] .. py:data:: DPG_MPL_STYLE :type: Dict[str, Any] .. py:data:: LEGACY_MPL_STYLE :type: Dict[str, Any] .. py:function:: brand_sequential_cmap() -> matplotlib.colors.LinearSegmentedColormap .. py:function:: edge_sequential_cmap() -> matplotlib.colors.LinearSegmentedColormap .. py:function:: community_cmap() -> matplotlib.colors.ListedColormap .. py:function:: class_cmap(n_classes: int) -> matplotlib.colors.ListedColormap .. py:function:: discrete_palette(n_colors: int) -> List[str] .. py:function:: feature_color_map(features: List[str]) -> Dict[str, Any] .. py:function:: predicate_line_color_map(features: List[str]) -> Dict[str, Any] .. py:function:: resolve_theme_context(theme: str = 'dpg', palette: str = 'default') -> Dict[str, Any]