Skip to content

Commit 6e43eb6

Browse files
authored
Merge pull request gpgpu-sim#201 from lucylufei/aerialvision-fix
fixed exception for parallel intensity plots in AerialVision
2 parents 7c19bb9 + 7ed3448 commit 6e43eb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aerialvision/guiclasses.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,8 @@ def plotParallelIntensity(self, x, xAxis, y, yAxis, colorAxis, yTicks, plotID):
13651365
interpolation = 'nearest'
13661366
norm = plotFormat.norm
13671367
im = self.plot.imshow(y, cmap = cmap, interpolation = interpolation, aspect = 'auto', norm = norm )
1368-
tmp = im.get_axes().get_position().get_points()
1368+
# tmp = im.get_axes().get_position().get_points()
1369+
tmp = im.get_window_extent().get_points()
13691370

13701371
if (plotID in self.cbarAxes):
13711372
self.figure.delaxes(self.cbarAxes[plotID])

0 commit comments

Comments
 (0)