From 897a5eee87dd3c4ed01d61d7c2585ff037df22f2 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Mon, 15 Feb 2021 14:53:40 -0800 Subject: [PATCH] Allow edgecolors to override linewidth --- src/backends/pyplot.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index cb4261ea..9236b42a 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -510,12 +510,12 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series) end if st == :hexbin + extrakw[:edgecolors] = get(series[:extra_kwargs], :edgecolors, py_color(get_linecolor(series))) handle = ax."hexbin"(x, y; label = series[:label], C = series[:weights], gridsize = series[:bins]==:auto ? 100 : series[:bins], # 100 is the default value linewidths = py_thickness_scale(plt, series[:linewidth]), - edgecolors = py_color(get_linecolor(series)), alpha = series[:fillalpha], cmap = py_fillcolormap(series), # applies to the pcolorfast object zorder = series[:series_plotindex],