plotlyjs surf fix
This commit is contained in:
parent
4eb6fac881
commit
c4a880c870
@ -63,7 +63,7 @@ function _series_updated(plt::Plot{PlotlyJSBackend}, series::Series)
|
|||||||
kw = KW(xsym => (series.d[:x],), ysym => (series.d[:y],))
|
kw = KW(xsym => (series.d[:x],), ysym => (series.d[:y],))
|
||||||
z = series[:z]
|
z = series[:z]
|
||||||
if z != nothing
|
if z != nothing
|
||||||
kw[:z] = (transpose_z(series, series[:z].surf, false),)
|
kw[:z] = (isa(z,Surface) ? transpose_z(series, series[:z].surf, false) : z,)
|
||||||
end
|
end
|
||||||
PlotlyJS.restyle!(
|
PlotlyJS.restyle!(
|
||||||
plt.o,
|
plt.o,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user