Open lukashergt opened 1 year ago
Unfortunately, pandas
's ScatterPlot
doesn't use the _make_plot()
which calls _plot()
pattern of HistPlot
/KdePlot
, but if I can get them to change this then I would agree with switching to ax.scatter
That's pretty clear. Let's remove this from 2.0.0, but keep the issue as a placeholder to remind us if/when @Ormorod fixes pandas.
I hadn't realised you were keen for this change, I'll get a PR in to pandas asap
If you could give pandas PR#51582 some love to get the ball rolling that would be great, as I suspect this will be harder to get through than a genuine bug fix
In https://github.com/williamjameshandley/anesthetic/pull/50#issue-479310788 we changed
scatter_plot_2d
such that it usesax.plot
instead ofax.scatter
:The bugs are supposedly fixed by now. Do we want to go back to
ax.scatter
? If so, 2.0.0 would be the time to do this.Apparently
ax.plot
might be faster, butax.scatter
can potentially do more.For reference:
Notes
in https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html#matplotlib-pyplot-scatter