SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Axes properties are cleared after offsetting spines

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.

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /