support asymmetric ribbons

This commit is contained in:
Simon Christ 2019-12-06 18:22:02 +01:00
parent 33cf0e66ec
commit 5a251e5702

View File

@ -614,6 +614,7 @@ end
function pgfx_add_ribbons!( axis, series, segment_plot, series_func, series_index )
ribbon_y = series[:ribbon]
@show ribbon_y
opt = series.plotattributes
if ribbon_y isa AVec
ribbon_n = length(opt[:y]) ÷ length(ribbon_y)