Revision: 7136
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7136&view=rev
Author:   mdboom
Date:     2009-05-22 18:43:26 +0000 (Fri, 22 May 2009)

Log Message:
-----------
Fix broken example.

Modified Paths:
--------------
    trunk/matplotlib/examples/api/custom_projection_example.py

Modified: trunk/matplotlib/examples/api/custom_projection_example.py
===================================================================
--- trunk/matplotlib/examples/api/custom_projection_example.py  2009-05-22 
17:50:32 UTC (rev 7135)
+++ trunk/matplotlib/examples/api/custom_projection_example.py  2009-05-22 
18:43:26 UTC (rev 7136)
@@ -27,10 +27,6 @@
     # projection='hammer')``.
     name = 'hammer'
 
-    # The number of interpolation steps when converting from straight
-    # lines to curves.  (See ``transform_path``).
-    RESOLUTION = 75
-
     def __init__(self, *args, **kwargs):
         Axes.__init__(self, *args, **kwargs)
         self.set_aspect(0.5, adjustable='box', anchor='C')
@@ -91,7 +87,7 @@
 
         # 1) The core transformation from data space into
         # rectilinear space defined in the HammerTransform class.
-        self.transProjection = self.HammerTransform(self.RESOLUTION)
+        self.transProjection = self.HammerTransform()
 
         # 2) The above has an output range that is not in the unit
         # rectangle, so scale and translate it so it fits correctly


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

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to