Skip to content

Commit

Permalink
Fix for handling of edgecolor(s) on mpl PointPlot
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 6, 2016
1 parent 0a1b22a commit 9540139
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/plotting/mpl/chart.py
Expand Up @@ -595,13 +595,14 @@ def initialize_plot(self, ranges=None):
color = style.pop('color', None)
style['c'] = cs
style['clim'] = ranges.get(cdim.name)
edgecolor = style.pop('edgecolors', style.pop('edgecolor', 'none'))

if points.get_dimension(self.size_index):
style['s'] = self._compute_size(points, style)

legend = points.label if self.show_legend else ''
scatterplot = axis.scatter(xs, ys, zorder=self.zorder, label=legend,
**style)
edgecolors=edgecolor, **style)
self.handles['artist'] = scatterplot

return self._finalize_axis(self.keys[-1], ranges=ranges)
Expand Down

0 comments on commit 9540139

Please sign in to comment.