Note
Click here to download the full example code
matshow
demo¶
matshow
can be used like
matplotlib.pyplot.matshow
.
from matplotlib import pyplot
from adaptiveheatmap.demos import data_hump_and_spike
import adaptiveheatmap
pyplot.style.use("bmh")
_X, _Y, Z = data_hump_and_spike()
ah = adaptiveheatmap.matshow(Z)
ah.set_xlabel('X')
ah.set_ylabel('Y')
ah.set_zlabel('Z')
ah.relate_xyzq(40, 80)
ah.figure.suptitle('matshow')
pyplot.show()
Total running time of the script: ( 0 minutes 0.094 seconds)