We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba8c65d commit 8de9241Copy full SHA for 8de9241
CHANGELOG
@@ -1,3 +1,5 @@
1
+2010-11-22 Fixed error with Hammer projection. - BVR
2
+
3
2010-11-12 Fixed the placement and angle of axis labels in 3D plots. - BVR
4
5
2010-11-07 New rc parameters examples.download and examples.directory
lib/matplotlib/projections/geo.py
@@ -346,7 +346,7 @@ def transform(self, ll):
346
cos_latitude = np.cos(latitude)
347
sqrt2 = np.sqrt(2.0)
348
349
- alpha = 1.0 + cos_latitude * np.cos(half_long)
+ alpha = np.sqrt(1.0 + cos_latitude * np.cos(half_long))
350
x = (2.0 * sqrt2) * (cos_latitude * np.sin(half_long)) / alpha
351
y = (sqrt2 * np.sin(latitude)) / alpha
352
return np.concatenate((x, y), 1)
0 commit comments