Skip to content

Commit

Permalink
Merge branch 'master' into hist2d_vmin
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashergt authored Apr 23, 2021
2 parents e621040 + 743e09e commit 7bd78d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions anesthetic/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,7 @@ def fastkde_contour_plot_2d(ax, data_x, data_y, *args, **kwargs):
levels = kwargs.pop('levels', [0.68, 0.95])
color = kwargs.pop('color', next(ax._get_lines.prop_cycler)['color'])
facecolor = kwargs.pop('facecolor', color)
edgecolor = kwargs.pop(
'edgecolor', color if facecolor in [None, 'None', 'none'] else 'k')
edgecolor = kwargs.pop('edgecolor', color)
kwargs.pop('q', None)

if len(data_x) == 0 or len(data_y) == 0:
Expand Down Expand Up @@ -650,8 +649,7 @@ def kde_contour_plot_2d(ax, data_x, data_y, *args, **kwargs):
zorder = kwargs.pop('zorder', 1)
color = kwargs.pop('color', next(ax._get_lines.prop_cycler)['color'])
facecolor = kwargs.pop('facecolor', color)
edgecolor = kwargs.pop(
'edgecolor', color if facecolor in [None, 'None', 'none'] else 'k')
edgecolor = kwargs.pop('edgecolor', color)
kwargs.pop('q', None)

if len(data_x) == 0 or len(data_y) == 0:
Expand Down

0 comments on commit 7bd78d4

Please sign in to comment.