Skip to content

Commit

Permalink
Fix heatmap aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
EarToEarOak committed Sep 20, 2016
1 parent d9bc006 commit a3eec7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialogs_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def __draw_plot(self):
image = create_heatmap(x, y,
self.IMAGE_SIZE, self.IMAGE_SIZE / 10,
self.colourHeat)
heatMap = self.axes.imshow(image, extent=self.extent)
heatMap = self.axes.imshow(image, aspect='auto', extent=self.extent)
heatMap.set_zorder(2)

if self.plotPoint:
Expand Down

0 comments on commit a3eec7a

Please sign in to comment.