Merge pull request #1525 from daschw/plotly-ribbon
Fix Plotly(JS) ribbon (fix #1518)
This commit is contained in:
commit
12e5937a91
@ -807,8 +807,8 @@ function plotly_series_segments(series::Series, d_base::KW, x, y, z)
|
|||||||
else
|
else
|
||||||
# if fillrange is a tuple with upper and lower limit, d_out_fillrange
|
# if fillrange is a tuple with upper and lower limit, d_out_fillrange
|
||||||
# is the series that will do the filling
|
# is the series that will do the filling
|
||||||
d_out_fillrange[:x], d_out_fillrange[:y] =
|
fillrng = Tuple(series[:fillrange][i][rng] for i in 1:2)
|
||||||
concatenate_fillrange(x[rng], series[:fillrange][rng])
|
d_out_fillrange[:x], d_out_fillrange[:y] = concatenate_fillrange(x[rng], fillrng)
|
||||||
d_out_fillrange[:line][:width] = 0
|
d_out_fillrange[:line][:width] = 0
|
||||||
delete!(d_out, :fill)
|
delete!(d_out, :fill)
|
||||||
delete!(d_out, :fillcolor)
|
delete!(d_out, :fillcolor)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user