Skip to content

Commit

Permalink
Fixed bug in HeatmapPlot
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 8, 2017
1 parent 29f47c9 commit 3f4b073
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions holoviews/plotting/mpl/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ def _annotate_plot(self, ax, annotations):

def _annotate_values(self, element):
val_dim = element.vdims[0]
aggregate = element.gridded
vals = aggregate.dimension_values(2)
vals = element.dimension_values(2)
d1uniq, d2uniq = [element.dimension_values(i, False) for i in range(2)]
num_x, num_y = len(d1uniq), len(d2uniq)
xpos = np.linspace(0.5, num_x-0.5, num_x)
Expand Down

0 comments on commit 3f4b073

Please sign in to comment.