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.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to