Fix issue: legend not showing up
This commit is contained in:
parent
f39cbbdcf5
commit
ece5fcf4ae
@ -480,11 +480,11 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if st == :pixel
|
if st == :pixel
|
||||||
handle = ax."plot"(x, y,
|
handle = ax."plot"(x, y, py_marker(:pixel);
|
||||||
py_marker(:pixel),
|
|
||||||
label = series[:label],
|
label = series[:label],
|
||||||
zorder = series[:series_plotindex],
|
zorder = series[:series_plotindex] + 0.5,
|
||||||
)
|
color = py_color(single_color(get_linecolor(series, clims)), get_linealpha(series)),
|
||||||
|
)[1]
|
||||||
push!(handles, handle)
|
push!(handles, handle)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user