Skip to content

Commit

Permalink
Restored default HeatMapPlot nan color to white
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 12, 2016
1 parent d26a140 commit 94735b4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions holoviews/plotting/mpl/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ def update_handles(self, key, axis, element, ranges, style):

class HeatMapPlot(RasterPlot):

clipping_colors = param.Dict(default={'NaN': (1, 1, 1, 1)}, doc="""
Dictionary to specify colors for clipped values, allows
setting color for NaN values and for values above and below
the min and max value. The min, max or NaN color may specify
an RGB(A) color as a color hex string of the form #FFFFFF or
#FFFFFFFF or a length 3 or length 4 tuple specifying values in
the range 0-1 or a named HTML color.""")

show_values = param.Boolean(default=False, doc="""
Whether to annotate each pixel with its value.""")

Expand Down

0 comments on commit 94735b4

Please sign in to comment.