Revision: 8045 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8045&view=rev Author: astraw Date: 2009-12-21 00:47:22 +0000 (Mon, 21 Dec 2009)
Log Message: ----------- spines: be clear about meaning of location vertices Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/spines.py Modified: trunk/matplotlib/lib/matplotlib/spines.py =================================================================== --- trunk/matplotlib/lib/matplotlib/spines.py 2009-12-21 00:46:59 UTC (rev 8044) +++ trunk/matplotlib/lib/matplotlib/spines.py 2009-12-21 00:47:22 UTC (rev 8045) @@ -297,14 +297,15 @@ """ (staticmethod) Returns a linear :class:`Spine`. """ + # all values of 13 get replaced upon call to set_bounds() if spine_type=='left': - path = mpath.Path([(0.0, 0.0), (0.0, 1.0)]) + path = mpath.Path([(0.0, 13), (0.0, 13)]) elif spine_type=='right': - path = mpath.Path([(1.0, 0.0), (1.0, 1.0)]) + path = mpath.Path([(1.0, 13), (1.0, 13)]) elif spine_type=='bottom': - path = mpath.Path([(0.0, 0.0), (1.0, 0.0)]) + path = mpath.Path([(13, 0.0), (13, 0.0)]) elif spine_type=='top': - path = mpath.Path([(0.0, 1.0), (1.0, 1.0)]) + path = mpath.Path([(13, 1.0), (13, 1.0)]) else: raise ValueError('unable to make path for spine "%s"'%spine_type) result = cls(axes,spine_type,path,**kwargs) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins