Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 937 Bytes

File metadata and controls

56 lines (46 loc) · 937 Bytes

matplotlib.colors

Note

The Color :ref:`tutorials <tutorials-colors>` and :ref:`examples <color_examples>` demonstrate how to set colors and colormaps. You may want to read those instead.

.. currentmodule:: matplotlib.colors

.. automodule:: matplotlib.colors
   :no-members:
   :no-inherited-members:

Classes

.. autosummary::
   :toctree: _as_gen/
   :template: autosummary.rst

   AsinhNorm
   BoundaryNorm
   Colormap
   CenteredNorm
   LightSource
   LinearSegmentedColormap
   ListedColormap
   LogNorm
   NoNorm
   Normalize
   PowerNorm
   SymLogNorm
   TwoSlopeNorm
   FuncNorm

Functions

.. autosummary::
   :toctree: _as_gen/
   :template: autosummary.rst

   from_levels_and_colors
   hsv_to_rgb
   rgb_to_hsv
   to_hex
   to_rgb
   to_rgba
   to_rgba_array
   is_color_like
   same_color
   get_named_colors_mapping
   make_norm_from_scale