From 02e6d729c1876b3296123ff2069dc415f544c7de Mon Sep 17 00:00:00 2001 From: Cornelius-G Date: Tue, 26 May 2020 18:37:58 +0200 Subject: [PATCH] add attribute fillalpha to contourf seriestype for pyplot backend (#2732) --- src/backends/pyplot.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 75384b37..e7ff3019 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -661,6 +661,7 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series) handle = ax."contourf"(x, y, z, levelargs...; label = series[:label], zorder = series[:series_plotindex] + 0.5, + alpha = series[:fillalpha], extrakw... ) push!(handles, handle) @@ -1098,7 +1099,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend}) end pyaxis."label"."set_fontsize"(py_thickness_scale(plt, axis[:guidefontsize])) pyaxis."label"."set_family"(axis[:guidefontfamily]) - + if (RecipesPipeline.is3d(sp)) pyaxis."set_rotate_label"(false) end