Skip to content

Commit

Permalink
Reverted setting facecolors instead of c in mpl scatter plots
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 6, 2016
1 parent c1b6e82 commit 0a1b22a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/chart.py
Expand Up @@ -593,7 +593,7 @@ def initialize_plot(self, ranges=None):
if cdim:
cs = points.dimension_values(self.color_index)
color = style.pop('color', None)
style['facecolors'] = cs
style['c'] = cs
style['clim'] = ranges.get(cdim.name)

if points.get_dimension(self.size_index):
Expand Down
6 changes: 3 additions & 3 deletions holoviews/plotting/mpl/chart3d.py
Expand Up @@ -132,10 +132,10 @@ def update_handles(self, axis, points, key, ranges=None):
cdim = points.get_dimension(self.color_index)
if cdim:
cs = points.dimension_values(self.color_index)
style.pop('color', None)
style['facecolors'] = cs
style['c'] = cs
if 'clim' not in style:
style['clim'] = ranges[cdim.name]
clims = ranges[cdim.name]
style.update(vmin=clims[0], vmax=clims[1])
if points.get_dimension(self.size_index):
style['s'] = self._compute_size(points, style)

Expand Down

0 comments on commit 0a1b22a

Please sign in to comment.