nclcmaps
nclcmaps copied to clipboard
The colormap can't import successfully on my laptop
First, thanks for your interesting work.
I have tried to install ncl-cmaps, and type the code as your example.
It failed with IndexError: index 2 is out of bounds for size 2 which from the plt.colorbar()
When I delete this sentence, the generated figure was just empty.
What's wrong with my problem. Wish for your reply, thanks!
Could you please give me the detail of the error, such as, which line, what platform you used. And a better method might be trying a new similar package cmaps which is more succinct.