SF.net SVN: matplotlib:[6732] branches/v0_98_5_maint/lib/matplotlib/ projections/polar.py

2009-01-02 Thread efiring
Revision: 6732
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6732&view=rev
Author:   efiring
Date: 2009-01-02 17:13:37 + (Fri, 02 Jan 2009)

Log Message:
---
Backport r6731 polar fixes from trunk.

Modified Paths:
--
branches/v0_98_5_maint/lib/matplotlib/projections/polar.py

Modified: branches/v0_98_5_maint/lib/matplotlib/projections/polar.py
===
--- branches/v0_98_5_maint/lib/matplotlib/projections/polar.py  2009-01-02 
03:33:17 UTC (rev 6731)
+++ branches/v0_98_5_maint/lib/matplotlib/projections/polar.py  2009-01-02 
17:13:37 UTC (rev 6732)
@@ -57,8 +57,6 @@
 
 def transform_path(self, path):
 vertices = path.vertices
-t = vertices[:, 0:1]
-t[t != (npy.pi * 2.0)] %= (npy.pi * 2.0)
 if len(vertices) == 2 and vertices[0, 0] == vertices[1, 0]:
 return Path(self.transform(vertices), path.codes)
 ipath = path.interpolated(self._resolution)
@@ -174,6 +172,11 @@
 def refresh(self):
 return self.base.refresh()
 
+def view_limits(self, vmin, vmax):
+vmin, vmax = self.base.view_limits(vmin, vmax)
+return 0, vmax
+
+
 RESOLUTION = 75
 
 def __init__(self, *args, **kwargs):
@@ -280,6 +283,7 @@
 return Circle((0.5, 0.5), 0.5)
 
 def set_rmax(self, rmax):
+self.viewLim.y0 = 0
 self.viewLim.y1 = rmax
 angle = self._r_label1_position.to_values()[4]
 self._r_label1_position.clear().translate(


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib:[6733] trunk/matplotlib

2009-01-02 Thread mdboom
Revision: 6733
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6733&view=rev
Author:   mdboom
Date: 2009-01-02 17:56:15 + (Fri, 02 Jan 2009)

Log Message:
---
Merged revisions 6717,6732 via svnmerge from 
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_98_5_maint


  r6717 | jdh2358 | 2008-12-30 11:06:59 -0500 (Tue, 30 Dec 2008) | 1 line
  
  added rcparams import to path

  r6732 | efiring | 2009-01-02 12:13:37 -0500 (Fri, 02 Jan 2009) | 2 lines
  
  Backport r6731 polar fixes from trunk.


Property Changed:

trunk/matplotlib/
trunk/matplotlib/doc/pyplots/README
trunk/matplotlib/doc/sphinxext/gen_gallery.py
trunk/matplotlib/doc/sphinxext/gen_rst.py


Property changes on: trunk/matplotlib
___
Modified: svnmerge-integrated
   - /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-6715
   + /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-6732
Modified: svn:mergeinfo
   - /branches/v0_91_maint:5753-5771
/branches/v0_98_5_maint:6581,6585,6587,6589-6609,6614,6616,6625,6652,6660-6662,6672-6673,6714-6715
   + /branches/v0_91_maint:5753-5771
/branches/v0_98_5_maint:6581,6585,6587,6589-6609,6614,6616,6625,6652,6660-6662,6672-6673,6714-6715,6717-6732


Property changes on: trunk/matplotlib/doc/pyplots/README
___
Modified: svn:mergeinfo
   - 
/branches/v0_98_5_maint/doc/pyplots/README:6581,6585,6587,6589-6609,6614,6616,6625,6652,6660-6662,6672-6673,6714-6715
   + 
/branches/v0_98_5_maint/doc/pyplots/README:6581,6585,6587,6589-6609,6614,6616,6625,6652,6660-6662,6672-6673,6714-6715,6717-6732


Property changes on: trunk/matplotlib/doc/sphinxext/gen_gallery.py
___
Modified: svn:mergeinfo
   - /branches/v0_91_maint/doc/_templates/gen_gallery.py:5753-5771
/branches/v0_98_5_maint/doc/sphinxext/gen_gallery.py:6660-6662,6672-6673,6714-6715
   + /branches/v0_91_maint/doc/_templates/gen_gallery.py:5753-5771
/branches/v0_98_5_maint/doc/sphinxext/gen_gallery.py:6660-6662,6672-6673,6714-6715,6717-6732


Property changes on: trunk/matplotlib/doc/sphinxext/gen_rst.py
___
Modified: svn:mergeinfo
   - /branches/v0_91_maint/doc/examples/gen_rst.py:5753-5771
/branches/v0_98_5_maint/doc/sphinxext/gen_rst.py:6714-6715
   + /branches/v0_91_maint/doc/examples/gen_rst.py:5753-5771
/branches/v0_98_5_maint/doc/sphinxext/gen_rst.py:6714-6715,6717-6732


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins