hughesadam87 / pyparty

Drawing and analyzing particles on images
Other
35 stars 17 forks source link

zoomshow axis #37

Closed hughesadam87 closed 10 years ago

hughesadam87 commented 10 years ago

zoomshow should map x/y labels from image to show the zoomed coordinates

hughesadam87 commented 10 years ago

I "fixed" this by merely plotting the entire image then setting the bounds. This might be computationally slow if matplotlib indeed renders the figure before the set_xlim, set_ylim are seen. Either way, it was easier than trying to map tick labels, as the get_xlabels() of axes returns custom tick objects and not np array.