|
From: <as...@us...> - 2009-12-21 00:47:57
|
Revision: 8046
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8046&view=rev
Author: astraw
Date: 2009-12-21 00:47:49 +0000 (Mon, 21 Dec 2009)
Log Message:
-----------
spines: limit range in example
Modified Paths:
--------------
trunk/matplotlib/examples/pylab_examples/spine_placement_demo.py
Modified: trunk/matplotlib/examples/pylab_examples/spine_placement_demo.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/spine_placement_demo.py 2009-12-21 00:47:22 UTC (rev 8045)
+++ trunk/matplotlib/examples/pylab_examples/spine_placement_demo.py 2009-12-21 00:47:49 UTC (rev 8046)
@@ -143,4 +143,7 @@
for artist in (line1,line2):
artist.set_clip_on(False)
+# adjust spine to be within ticks
+ax.spines['left'].set_bounds( -1, 1 )
+
show()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|