Merge pull request #1525 from daschw/plotly-ribbon

Fix Plotly(JS) ribbon (fix #1518)
This commit is contained in:
Daniel Schwabeneder 2018-05-13 23:37:43 +02:00 committed by GitHub
commit 12e5937a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -807,8 +807,8 @@ function plotly_series_segments(series::Series, d_base::KW, x, y, z)
else
# if fillrange is a tuple with upper and lower limit, d_out_fillrange
# is the series that will do the filling
d_out_fillrange[:x], d_out_fillrange[:y] =
concatenate_fillrange(x[rng], series[:fillrange][rng])
fillrng = Tuple(series[:fillrange][i][rng] for i in 1:2)
d_out_fillrange[:x], d_out_fillrange[:y] = concatenate_fillrange(x[rng], fillrng)
d_out_fillrange[:line][:width] = 0
delete!(d_out, :fill)
delete!(d_out, :fillcolor)