🌐
Matplotlib
matplotlib.org › stable › users › explain › colors › colormaps.html
Choosing Colormaps in Matplotlib — Matplotlib 3.11.2 documentation
Matplotlib has a number of built-in colormaps accessible via matplotlib.colormaps. There are also external libraries that have many extra colormaps, which can be viewed in the Third-party colormaps section of the Matplotlib documentation. Here we briefly discuss how to choose between the many ...
🌐
Matplotlib
matplotlib.org › stable › gallery › color › colormap_reference.html
Colormap reference — Matplotlib 3.11.2 documentation
matplotlib.axes.Axes.set_axis_off · Tags: styling: colormap purpose: reference · Total running time of the script: (0 minutes 4.412 seconds) Download Jupyter notebook: colormap_reference.ipynb · Download Python source code: colormap_reference.py · Download zipped: colormap_reference.zip ·
🌐
PYTHON CHARTS
python-charts.com › home › matplotlib colormaps
Matplotlib colormaps [Full List] | PYTHON CHARTS
July 29, 2026 - Matplotlib provides dozens of built-in colormaps: continuous or discrete color scales that you pass to the cmap argument whenever you map a numeric or categorical variable to color, for example in imshow, scatter, pcolormesh or a seaborn heatmap.
🌐
Matplotlib
matplotlib.org › 2.0.2 › examples › color › colormaps_reference.html
color example code: colormaps_reference.py — Matplotlib 2.0.2 documentation
""" import numpy as np import matplotlib.pyplot as plt # Have colormaps separated into categories: # http://matplotlib.org/examples/color/colormaps_reference.html cmaps = [('Perceptually Uniform Sequential', [ 'viridis', 'plasma', 'inferno', 'magma']), ('Sequential', [ 'Greys', 'Purples', 'Blues', 'Greens', 'Oranges', 'Reds', 'YlOrBr', 'YlOrRd', 'OrRd', 'PuRd', 'RdPu', 'BuPu', 'GnBu', 'PuBu', 'YlGnBu', 'PuBuGn', 'BuGn', 'YlGn']), ('Sequential (2)', [ 'binary', 'gist_yarg', 'gist_gray', 'gray', 'bone', 'pink', 'spring', 'summer', 'autumn', 'winter', 'cool', 'Wistia', 'hot', 'afmhot', 'gist_heat
🌐
GeeksforGeeks
geeksforgeeks.org › python › matplotlib-colors-colormap-class-in-python
Matplotlib Colormaps - GeeksforGeeks
December 23, 2024 - DSA Python · Data Science · NumPy · Pandas · Practice · Django · Flask · Last Updated : 23 Dec, 2024 · matplotlib.colors.Colormap class allows you to map scalar values to RGBA (Red, Green, Blue, Alpha) colors.
🌐
Analytics Vidhya
analyticsvidhya.com › home › cmap in python: tutorials & examples | colormaps in matplotlib (updated 2026)
Cmap in Python: Tutorials & Examples | Colormaps in Matplotlib (Updated 2026)
January 2, 2026 - The combination of data science ... their operations. Matplotlib is a popular library in the python colormaps ecosystem for visualizing the results of machine learning algorithms in a visually appealing way....
🌐
Pythoncharts
pythoncharts.com › matplotlib › matplotlib-colors-colormaps
Python Charts - Colors and Color Maps in Matplotlib
Colormaps are preset lists/sequences/maps of colors that Matplotlib already has packaged up for us, ready to use.
🌐
Matplotlib
matplotlib.org › stable › gallery › color › individual_colors_from_cmap.html
Selecting individual colors from a colormap — Matplotlib 3.11.2 documentation
We can retrieve colors from any Colormap by calling it with a float or a list of floats in the range [0, 1]; e.g. cmap(0.5) will give the middle color. See also Colormap.__call__. import matplotlib.pyplot as plt import numpy as np import matplotlib as mpl n_lines = 21 cmap = mpl.colormaps['plasma'] # Take colors at regular intervals spanning the colormap.
Find elsewhere
🌐
Colormaps
pratiman-91.github.io › colormaps
Home - Colormaps
Colormaps is a library of collection of colormaps or color palettes for Python. It’s written in Python with matplotlib and numpy as dependencies.
🌐
TutorialsPoint
tutorialspoint.com › matplotlib › matplotlib_colormaps.htm
Matplotlib - ColorMaps
The following example demonstrates how to create custom colormaps using the ListedColormap class with specific color names. import matplotlib as mpl from matplotlib.colors import ListedColormap import matplotlib.pyplot as plt import numpy as np # Creating a ListedColormap from color names colormaps = [ListedColormap(['rosybrown', 'gold', "crimson", "linen"])] # Plotting examples np.random.seed(19680801) data = np.random.randn(30, 30) n = len(colormaps) fig, axs = plt.subplots(1, n, figsize=(7, 3), layout='constrained', squeeze=False) for [ax, cmap] in zip(axs.flat, colormaps): psm = ax.pcolormesh(data, cmap=cmap, rasterized=True, vmin=-4, vmax=4) fig.colorbar(psm, ax=ax) plt.show()
🌐
Kanaries
docs.kanaries.net › topics › Matplotlib › matplotlib-colormap
Matplotlib Colormap: Complete Guide to Color Maps in Python – Kanaries
February 12, 2026 - Top 10 growing data visualization libraries in Python in 2025 · A colormap is a mapping function that translates scalar data values into colors. Given a number (typically normalized to the 0--1 range), the colormap returns an RGBA color tuple. Matplotlib represents colormaps as objects inheriting ...
🌐
Scaler
scaler.com › home › topics › matplotlib › colormaps in matplotlib
Adding colormaps in matplotlib - Scaler Topics
November 9, 2022 - These names can be accessed using the get_cmap() function in the colormaps module in matplotlib. ... After importing the important libraries, we use the get_cmap() function to get the type of colormap we want (plasma in this example).
🌐
Matplotlib
matplotlib.org › stable › tutorials › colors › colormaps.html
Matplotlib
May 25, 2022 - Matplotlib has support for visualizing information with a wide array of colors and colormaps.
🌐
Kanaries
docs.kanaries.net › topics › Matplotlib › examples-matplotlib-cmaps
Matplotlib Colormaps: Interactive Explorer and Complete Gallery – Kanaries
August 19, 2026 - Browse every built-in Matplotlib colormap in an interactive gallery, copy the cmap name in one click, and learn which family to pick for sequential, diverging, categorical, and cyclic data.
🌐
Bids
bids.github.io › colormap
matplotlib colormaps
To visualize matplotlib built-in colormaps: python -m viscm view jet · To visualize one of our colormaps: python -m viscm view path/to/colormap_script.py · To make a nice screenshot like the ones above: python -m viscm view CMAP --save MYFILE.png --quit · If you want to access the editor ...
🌐
SciPy Lecture Notes
scipy-lectures.org › intro › matplotlib › auto_examples › options › plot_colormaps.html
Colormaps — Scipy lecture notes
1. Getting started with Python for science » · 1.5. Matplotlib: plotting » · Collapse document to compact view · Edit Improve this page: Edit it on Github. Note · Click here to download the full example code · An example plotting the matplotlib colormaps.
🌐
Purdue
docs.rcac.purdue.edu › workshops › matplotlib › colormaps
Colormaps - RCAC Documentation
Using colormaps is quite simple: add the cmap='CMAP_NAME' option to the plotting function you are using and MatPlotLib will handle the rest.