|
From: <md...@us...> - 2008-06-20 15:32:42
|
Revision: 5617
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5617&view=rev
Author: mdboom
Date: 2008-06-20 08:32:40 -0700 (Fri, 20 Jun 2008)
Log Message:
-----------
Removing redundant cla() method. (Thanks Tony Yu).
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 2008-06-20 15:24:16 UTC (rev 5616)
+++ trunk/matplotlib/examples/api/custom_projection_example.py 2008-06-20 15:32:40 UTC (rev 5617)
@@ -63,25 +63,6 @@
Axes.set_xlim(self, -np.pi, np.pi)
Axes.set_ylim(self, -np.pi / 2.0, np.pi / 2.0)
- def cla(self):
- """
- Initialize the Axes object to reasonable defaults.
- """
- Axes.cla(self)
-
- self.set_longitude_grid(30)
- self.set_latitude_grid(15)
- self.set_longitude_grid_ends(75)
- self.xaxis.set_minor_locator(NullLocator())
- self.yaxis.set_minor_locator(NullLocator())
- self.xaxis.set_ticks_position('none')
- self.yaxis.set_ticks_position('none')
-
- # self.grid(rcParams['axes.grid'])
-
- Axes.set_xlim(self, -np.pi, np.pi)
- Axes.set_ylim(self, -np.pi / 2.0, np.pi / 2.0)
-
def _set_lim_and_transforms(self):
"""
This is called once when the plot is created to set up all the
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|