Re: [Matplotlib-users] Interactively get readable(i.e. lng/lat) coordinates from a matplotlib basemap plot?

2014-04-30 Thread Jonathan_Kowalik
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

[Matplotlib-users] Interactively get readable(i.e. lng/lat) coordinates from a matplotlib basemap plot?

2014-04-29 Thread Jonathan_Kowalik
Hi. I also asked this question on stackoverflow, but I think it might even better to ask it here. I'm doing basemap plots. The current coordinates of the mouse pointer are interactively displayed in the lower right area of the figure. But they are in map coordinates (I assume). I would like to have