How do I display a 2D array of scalars (with optimal cmap) and the value of the cell displayed when moving the mouse over the displayed image. plt.imshow
of matplotlib does not seem to provide this.
Asked
Active
Viewed 66 times
1
-
this may give you some insight...[onclick function matplotlib](http://stackoverflow.com/a/14923545/832621) – Saullo G. P. Castro Oct 03 '13 at 16:38
-
1@SaulloCastro Adding more call backs is over kill here. – tacaswell Oct 03 '13 at 16:54
-
1gah! wrong question, should be a duplicate of http://stackoverflow.com/questions/14754931/matplotlib-values-under-cursor/14755358#14755358 – tacaswell Oct 03 '13 at 16:56
-
and http://matplotlib.org/examples/api/image_zcoord.html – tacaswell Oct 03 '13 at 16:57