[hdf-compass] 12/295: Fix backwards indices
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.
commit 9dcc1ec02d2c7017b75ff6a499d4564a55a12c6c
Author: Andrew Collette <andrew.collette at gmail.com>
Date: Tue Jul 1 08:53:52 2014 -0600
Fix backwards indices
---
compass_viewer/.DS_Store | Bin 15364 -> 15364 bytes
compass_viewer/array/plot.py | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compass_viewer/.DS_Store b/compass_viewer/.DS_Store
index 2483741..8c6d472 100644
Binary files a/compass_viewer/.DS_Store and b/compass_viewer/.DS_Store differ
diff --git a/compass_viewer/array/plot.py b/compass_viewer/array/plot.py
index c1be7ab..d1320b7 100644
--- a/compass_viewer/array/plot.py
+++ b/compass_viewer/array/plot.py
@@ -77,7 +77,7 @@ class ContourPlotFrame(PlotFrame):
def draw_figure(self):
import pylab
- xx = np.arange(self.data.shape[0])
- yy = np.arange(self.data.shape[1])
+ xx = np.arange(self.data.shape[1])
+ yy = np.arange(self.data.shape[0])
out = self.axes.contourf(xx, yy, self.data, 25)
pylab.colorbar(out)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git
More information about the debian-science-commits
mailing list