Skip to content

hhuangwx/nclcmaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published