[yt-svn] commit/yt: MatthewTurk: Fixing x/y axis confusion in the geographic handler
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Nov 30 17:12:45 PST 2016
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/a2ecef680eba/
Changeset: a2ecef680eba
Branch: yt
User: MatthewTurk
Date: 2016-11-30 22:39:34+00:00
Summary: Fixing x/y axis confusion in the geographic handler
Affected #: 1 file
diff -r 6b9446812391efa134dc3d39266ea3cbd83422aa -r a2ecef680eba44be8240df896cb4b178046d9c58 yt/geometry/coordinates/geographic_coordinates.py
--- a/yt/geometry/coordinates/geographic_coordinates.py
+++ b/yt/geometry/coordinates/geographic_coordinates.py
@@ -309,8 +309,8 @@
axis, width, depth)
elif name == self.radial_axis:
rax = self.radial_axis
- width = [self.ds.domain_width[self.y_axis[rax]],
- self.ds.domain_width[self.x_axis[rax]]]
+ width = [self.ds.domain_width[self.x_axis[rax]],
+ self.ds.domain_width[self.y_axis[rax]]]
elif name == 'latitude':
ri = self.axis_id[self.radial_axis]
# Remember, in spherical coordinates when we cut in theta,
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list