source: other-projects/metadata-encoding/py/using-api/graphTest.py@ 38791

Last change on this file since 38791 was 38791, checked in by jc550, 4 months ago

add comments adding context to functions that require it

File size: 289 bytes
Line 
1# slight messing around with plotting library to test suitablility
2
3import matplotlib as mpl
4import matplotlib.pyplot as plt
5import numpy as np
6
7data = np.random.rand(308, 308)
8
9fig, ax = plt.subplots()
10ax.imshow(data, cmap=plt.cm.summer, interpolation='nearest', aspect='auto')
11plt.show()
Note: See TracBrowser for help on using the repository browser.