|
36 | 36 | import matplotlib.pyplot as plt
|
37 | 37 |
|
38 | 38 |
|
39 |
| -cmaps = [('Sequential', ['binary', 'Blues', 'BuGn', 'BuPu', 'gist_yarg', |
| 39 | +cmaps = [('Sequential', ['Blues', 'BuGn', 'BuPu', |
40 | 40 | 'GnBu', 'Greens', 'Greys', 'Oranges', 'OrRd',
|
41 | 41 | 'PuBu', 'PuBuGn', 'PuRd', 'Purples', 'RdPu',
|
42 | 42 | 'Reds', 'YlGn', 'YlGnBu', 'YlOrBr', 'YlOrRd']),
|
43 | 43 | ('Sequential (2)', ['afmhot', 'autumn', 'bone', 'cool', 'copper',
|
44 |
| - 'gist_gray', 'gist_heat', 'gray', 'hot', 'pink', |
| 44 | + 'gist_heat', 'gray', 'hot', 'pink', |
45 | 45 | 'spring', 'summer', 'winter']),
|
46 | 46 | ('Diverging', ['BrBG', 'bwr', 'coolwarm', 'PiYG', 'PRGn', 'PuOr',
|
47 |
| - 'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'seismic']), |
48 |
| - ('Qualitative', ['Accent', 'Dark2', 'hsv', 'Paired', 'Pastel1', |
49 |
| - 'Pastel2', 'Set1', 'Set2', 'Set3', 'spectral']), |
50 |
| - ('Miscellaneous', ['gist_earth', 'gist_ncar', 'gist_rainbow', |
51 |
| - 'gist_stern', 'jet', 'brg', 'CMRmap', 'cubehelix', |
52 |
| - 'gnuplot', 'gnuplot2', 'ocean', 'rainbow', |
53 |
| - 'terrain', 'flag', 'prism'])] |
| 47 | + 'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'Spectral', |
| 48 | + 'seismic']), |
| 49 | + ('Qualitative', ['Accent', 'Dark2', 'Paired', 'Pastel1', |
| 50 | + 'Pastel2', 'Set1', 'Set2', 'Set3']), |
| 51 | + ('Miscellaneous', ['gist_earth', 'terrain', 'ocean', 'gist_stern', |
| 52 | + 'brg', 'CMRmap', 'cubehelix', |
| 53 | + 'gnuplot', 'gnuplot2', 'gist_ncar', |
| 54 | + 'nipy_spectral', 'jet', 'rainbow', |
| 55 | + 'gist_rainbow', 'hsv', 'flag', 'prism'])] |
54 | 56 |
|
55 | 57 |
|
56 | 58 | nrows = max(len(cmap_list) for cmap_category, cmap_list in cmaps)
|
|
0 commit comments