remove point meta
This commit is contained in:
parent
642bb9aead
commit
2cfd1838ca
@ -129,10 +129,6 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
|
|||||||
series_opt = PGFPlotsX.Options(
|
series_opt = PGFPlotsX.Options(
|
||||||
"color" => opt[:linecolor],
|
"color" => opt[:linecolor],
|
||||||
)
|
)
|
||||||
if opt[:marker_z] !== nothing
|
|
||||||
push!(series_opt, "point meta" => "explicit")
|
|
||||||
push!(series_opt, "scatter" => nothing)
|
|
||||||
end
|
|
||||||
if is3d(series)
|
if is3d(series)
|
||||||
series_func = PGFPlotsX.Plot3
|
series_func = PGFPlotsX.Plot3
|
||||||
else
|
else
|
||||||
@ -158,13 +154,7 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
|
|||||||
end
|
end
|
||||||
segment_plot = series_func(
|
segment_plot = series_func(
|
||||||
merge(series_opt, segment_opt),
|
merge(series_opt, segment_opt),
|
||||||
PGFPlotsX.Coordinates(seg_args...,
|
PGFPlotsX.Coordinates(seg_args...),
|
||||||
meta = if !isnothing(opt[:marker_z])
|
|
||||||
opt[:marker_z][rng]
|
|
||||||
else
|
|
||||||
nothing
|
|
||||||
end
|
|
||||||
),
|
|
||||||
series[:fillrange] !== nothing ? "\\closedcycle" : "{}"
|
series[:fillrange] !== nothing ? "\\closedcycle" : "{}"
|
||||||
)
|
)
|
||||||
push!(axis, segment_plot)
|
push!(axis, segment_plot)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user