Merge pull request #977 from daschw/ds-plotly-surf

allow setting surface alpha in plotly(js) (fix #957)
This commit is contained in:
Daniel Schwabeneder 2017-07-24 10:05:24 +02:00 committed by GitHub
commit 317091639f

View File

@ -508,6 +508,7 @@ function plotly_series(plt::Plot, series::Series)
d_out[:showscale] = false
else
d_out[:colorscale] = plotly_colorscale(series[:fillcolor], series[:fillalpha])
d_out[:opacity] = series[:fillalpha]
if series[:fill_z] != nothing
d_out[:surfacecolor] = plotly_surface_data(series, series[:fill_z])
end