source:
other-projects/metadata-encoding/py/using-api/graphTest.py@
38773
Last change on this file since 38773 was 38773, checked in by , 4 months ago | |
---|---|
File size: 221 bytes |
Line | |
---|---|
1 | import matplotlib as mpl |
2 | import matplotlib.pyplot as plt |
3 | import numpy as np |
4 | |
5 | data = np.random.rand(308, 308) |
6 | |
7 | fig, ax = plt.subplots() |
8 | ax.imshow(data, cmap=plt.cm.summer, interpolation='nearest', aspect='auto') |
9 | plt.show() |
Note:
See TracBrowser
for help on using the repository browser.