Skip to content

Commit

Permalink
Merge pull request #1062 from ioam/heatmap_shape
Browse files Browse the repository at this point in the history
Fixed HeatMap shape setting
  • Loading branch information
jlstevens authored Jan 14, 2017
2 parents 315c870 + de4beb6 commit 84d4724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_data(self, element, ranges, style):
data = np.ma.array(data, mask=np.logical_not(np.isfinite(data)))
shape = data.shape
style['aspect'] = shape[0]/shape[1]
style['extent'] = (0, shape[0], 0, shape[1])
style['extent'] = (0, shape[1], 0, shape[0])
style['annotations'] = self._annotate_values(element.gridded)
return [data], style, axis_kwargs

Expand Down

0 comments on commit 84d4724

Please sign in to comment.