Revision: 7249
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7249&view=rev
Author: mdboom
Date: 2009-07-07 12:41:45 +0000 (Tue, 07 Jul 2009)
Log Message:
-----------
[2687673] Add abs() to delta check in Mollweide projection.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/projections/geo.py
Modified: trunk/matplotlib/lib/matplotlib/projections/geo.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/projections/geo.py 2009-07-06 19:43:00 UTC
(rev 7248)
+++ trunk/matplotlib/lib/matplotlib/projections/geo.py 2009-07-07 12:41:45 UTC
(rev 7249)
@@ -424,7 +424,7 @@
def transform(self, ll):
def d(theta):
delta = -(theta + np.sin(theta) - pi_sin_l) / (1 +
np.cos(theta))
- return delta, delta > 0.001
+ return delta, abs(delta) > 0.001
longitude = ll[:, 0:1]
latitude = ll[:, 1:2]
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins