.. _f-colormap: module ``graphhelper._colormap`` ================================ .. inheritance-diagram:: pyensae.graphhelper._colormap Short summary +++++++++++++ module ``pyensae.graphhelper._colormap`` CorrPlot functionalities. It comes from `corrplot.py `_ which I copied here because the module does not properly work on Python 3 (import issues). See also `biokit license `_. :author: Thomas Cokelaer :references: http://cran.r-project.org/web/packages/corrplot/vignettes/corrplot-intro.html :githublink:`%|py|12` Classes +++++++ +------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +============================================================+============================================================================================================================+ | :class:`Color ` | Lists of known colors. | +------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :class:`Colormap ` | Snippets of code from `colormap/colors.py `_, ... | +------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ Functions +++++++++ +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +===================================================================+==================================================================================================================================+ | :func:`cmap_builder ` | Returns a colormap object compatible with matplotlib If only parameter **name** is provided, it should be a known matplotlib ... | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +----------------------------------------------------------------------------------+-------------------------+ | property | truncated documentation | +==================================================================================+=========================+ | :meth:`colormaps ` | | +----------------------------------------------------------------------------------+-------------------------+ | :meth:`diverging_black ` | | +----------------------------------------------------------------------------------+-------------------------+ Methods +++++++ +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ | method | truncated documentation | +===============================================================================================+===============================================================+ | :py:meth:`__init__ ` | | +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ | :py:meth:`_get_colormap_mpl ` | | +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ | :py:meth:`_get_diverging_black ` | | +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ | :meth:`cmap ` | Returns a colormap object to be used within matplotlib | +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ | :meth:`cmap_linear ` | Provides 3 colors in format accepted by :class:`Color` | +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ | :meth:`set_hex ` | Converts a string like ``#AABBCC`` into `(red, green, blue)`. | +-----------------------------------------------------------------------------------------------+---------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyensae.graphhelper._colormap :members: :special-members: __init__ :show-inheritance: