From 7ed34489953fb75f1cd1131f951c1b201d770f41 Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Thu, 1 Oct 2020 22:20:09 -0700 Subject: fixed exception for parallel intensity plots in aerialvision --- aerialvision/guiclasses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'aerialvision/guiclasses.py') diff --git a/aerialvision/guiclasses.py b/aerialvision/guiclasses.py index 45fed26..04036a8 100644 --- a/aerialvision/guiclasses.py +++ b/aerialvision/guiclasses.py @@ -1365,7 +1365,8 @@ class graphManager: interpolation = 'nearest' norm = plotFormat.norm im = self.plot.imshow(y, cmap = cmap, interpolation = interpolation, aspect = 'auto', norm = norm ) - tmp = im.get_axes().get_position().get_points() + # tmp = im.get_axes().get_position().get_points() + tmp = im.get_window_extent().get_points() if (plotID in self.cbarAxes): self.figure.delaxes(self.cbarAxes[plotID]) -- cgit v1.3