[yt-svn] commit/yt: xarthisius: [plot_window:PWViewerMPL] fix typo in calculating the vertical extent
Bitbucket
commits-noreply at bitbucket.org
Tue Jul 10 21:38:27 PDT 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/720605eff77a/
changeset: 720605eff77a
branch: yt
user: xarthisius
date: 2012-07-11 06:34:19
summary: [plot_window:PWViewerMPL] fix typo in calculating the vertical extent
affected #: 1 file
diff -r 148b51ad39af7c3ff5a54605d6280faff3e339e9 -r 720605eff77a78c3d17763ea647b874ff7fca6d6 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -655,7 +655,7 @@
raise RuntimeError('origin keyword: \"%(k)s\" not recognized' % {'k': self.origin})
extent = [self.xlim[i] - xc for i in (0,1)]
- extent.extend([self.xlim[i] - yc for i in (0,1)])
+ extent.extend([self.ylim[i] - yc for i in (0,1)])
extent = [el*self.pf[md['unit']] for el in extent]
self.plots[f] = WindowPlotMPL(self._frb[f], extent, self._field_transform[f],
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