I already got the answer:
ax = plt.gca()
def format_coord(x, y):
return 'x=%.4f, y=%.4f'%(m(x, y, inverse = True))
ax.format_coord = format_coord
This does exactly what I wanted. :-)
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Interactively-get-readable-i-e-lng-lat-coordinates-from-a-matplotlib-basemap-plot-tp43328p43330.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users