summaryrefslogtreecommitdiff
path: root/aerialvision
diff options
context:
space:
mode:
authorLucy Liu <[email protected]>2020-10-01 22:20:09 -0700
committerLucy Liu <[email protected]>2020-10-01 22:20:09 -0700
commit7ed34489953fb75f1cd1131f951c1b201d770f41 (patch)
treee468ec46e03518bd7a6e3e1d063007947956d820 /aerialvision
parent7c19bb91f69fc467a7005608f8090cc3c66dd0a7 (diff)
fixed exception for parallel intensity plots in aerialvision
Diffstat (limited to 'aerialvision')
-rw-r--r--aerialvision/guiclasses.py3
1 files changed, 2 insertions, 1 deletions
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])