I've been experiencing an issue where using Plots.Scatter and then producing a legend causes those legend entries to have lines:

Plots.Scatter([x[1] for x in xs_est], [x[2] for x in xs_est],
style="mark=$shape, mark size=2, mark options={draw=black, fill=black}",
legendentry=typename
)
My current workaround is to plot with Plots.Linear(..., style="draw=white, ..."). Using draw=none causes the same problem to occur. This workaround can cause new problems, where the white line then shows up when it crosses over something else.
This may be a problem inherent to PGFPlots, but I have to believe there is a way to solve it.
I've been experiencing an issue where using
Plots.Scatterand then producing a legend causes those legend entries to have lines:My current workaround is to plot with
Plots.Linear(..., style="draw=white, ..."). Usingdraw=nonecauses the same problem to occur. This workaround can cause new problems, where the white line then shows up when it crosses over something else.This may be a problem inherent to PGFPlots, but I have to believe there is a way to solve it.