From: Stan W. <sta...@nr...> - 2014-03-24 18:46:39
|
On 2014-02-05 02:26, Paul Hobson wrote: > I noticed that when you offset the spines of an Axes object, the > labels, ticks, and ticklabels/formatting get mostly cleared. Is this > intentional and is there a way to prevent (or undo) it? [...] Paul, I may have encountered the same issue a few years ago. May I suggest that you look at the mailing list thread from that time [1], try the patch in the thread, and see whether your issue is resolved? This solution doesn't provide a work-around in your code, but it may fix the problem at the root. I took a brief look at the current state of spines.py, and I found only the same instances of "self.axis.cla()" that the patch changes to "self.axis.reset_ticks()". Kind regards, Stan [1] http://matplotlib.1069221.n5.nabble.com/Spine-set-position-unexpectedly-clears-axis-td37865.html, 29 Sep. 2010. |