Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nclcmaps
notebook
LICENSE
README.rst
setup.py

README.rst

nclcmaps

This package is no longer maintained. Refer to https://github.com/hhuangwx/cmaps for better experience.

Duplicate all colortables in NCL 6.3.0 to matplotlib colormaps

Thanks for wqshen's help

Installation:

git clone https://github.com/hhuangmeso/nclcmaps.git
cd nclcmaps
python setup.py install

Usage:

import matplotlib.pyplot as plt
import nclcmaps
import numpy as np

a=np.random.rand(100,100)
plt.pcolormesh(a,cmap=nclcmaps.cmaps('BlueDarkOrange18'))
plt.colorbar()
plt.show()
You can’t perform that action at this time.