fix fillalpha for surface on pyplot

This commit is contained in:
Daniel Schwabeneder 2021-02-19 20:59:48 +01:00
parent d59f6c96d5
commit 100da5ccae

View File

@ -205,9 +205,15 @@ function fix_xy_lengths!(plt::Plot{PyPlotBackend}, series::Series)
end end
end end
py_linecolormap(series::Series) = py_colormap(series[:linecolor]) function py_linecolormap(series::Series)
py_markercolormap(series::Series) = py_colormap(series[:markercolor]) py_colormap(cgrad(get_linecolor(series), alpha=get_linealpha(series)))
py_fillcolormap(series::Series) = py_colormap(series[:fillcolor]) end
function py_markercolormap(series::Series)
py_colormap(cgrad(get_markercolor(series), alpha=get_markeralpha(series)))
end
function py_fillcolormap(series::Series)
py_colormap(cgrad(get_fillcolor(series), alpha=get_fillalpha(series)))
end
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------