blob: 6107ba738759567a5660d920a232c01b1f255c6e (
plain)
1
2
3
4
5
6
|
import WrightTools as wt
from matplotlib import cm
import matplotlib.pyplot as plt
cmap = cm.get_cmap('viridis')
wt.artists.plot_colormap_components(cmap)
wt.artists.savefig('viridis_cmap.png')
|