Allow line_z to specify color across multiple lines
This commit is contained in:
parent
514cd1bd37
commit
16d18552f8
@ -502,7 +502,7 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
|||||||
:linestyle => py_linestyle(st, series[:linestyle]),
|
:linestyle => py_linestyle(st, series[:linestyle]),
|
||||||
:norm => pycolors["Normalize"](; extrakw...)
|
:norm => pycolors["Normalize"](; extrakw...)
|
||||||
)
|
)
|
||||||
lz = collect(series[:line_z])
|
lz = _cycle(series[:line_z], 1:n)
|
||||||
handle = if is3d(st)
|
handle = if is3d(st)
|
||||||
for rng in iter_segments(x, y, z)
|
for rng in iter_segments(x, y, z)
|
||||||
length(rng) < 2 && continue
|
length(rng) < 2 && continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user