fix pyplot fillrange
This commit is contained in:
parent
b254aaa081
commit
00f285cba3
@ -837,9 +837,9 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
|||||||
end
|
end
|
||||||
n = length(dim1)
|
n = length(dim1)
|
||||||
args = if typeof(fillrange) <: Union{Real, AVec}
|
args = if typeof(fillrange) <: Union{Real, AVec}
|
||||||
dim1, expand_data(fillrange, n), dim2
|
dim1, _cycle(fillrange, rng), dim2
|
||||||
elseif is_2tuple(fillrange)
|
elseif is_2tuple(fillrange)
|
||||||
dim1, expand_data(fillrange[1], n), expand_data(fillrange[2], n)
|
dim1, _cycle(fillrange[1], rng), _cycle(fillrange[2], rng)
|
||||||
end
|
end
|
||||||
|
|
||||||
handle = ax[f](args..., trues(n), false, py_fillstepstyle(st);
|
handle = ax[f](args..., trues(n), false, py_fillstepstyle(st);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user