CMasher is a Python library that provides 60+ scientific colormaps for Matplotlib, designed for perceptual uniformity and color-vision-deficiency accessibility. At runtime, importing cmasher registers every colormap into Matplotlib's colormap registry under a `cmr.` prefix, exposing forward, reversed, and for cyclic maps half-shifted variants. The package also ships a CLI (`cmr`), utility functions for combining, sub-selecting, sampling, viewing, and exporting colormaps, plus cross-application exporters for Tableau and R. The colormap definitions themselves are stored as static NumPy arrays, normalized/8-bit/hex text files, JSON `.jscm` files, and generated Python modules, making the project both a functional library and a curated data asset.
PyPlot.jl is a Julia package that provides a direct interface to the matplotlib.pyplot library from Python, enabling Julia users to create plots using Matplotlib's extensive plotting capabilities. The package uses PyCall to call Matplotlib functions with minimal overhead, passing Julia arrays without copying. It integrates with Julia's multimedia I/O system to display plots in various backends (including IJulia, Jupyter, and GUI windows) and supports automatic backend selection based on available dependencies. The architecture consists of a core module handling the PyPlot interface, separate modules for colormap management and 3D plotting, and initialization code that configures the Matplotlib backend and sets up integration with Julia's display system. Key features include support for LaTeX in plot labels via LaTeXStrings, automatic figure management in interactive environments, and compatibility with both Julia-based and Python-based GUI backends.