Description
one very important plot type that i've been meaning to port over to pymatviz
is a truly scalable version of density_scatter
but using plotly
as backend to get interactive tooltips. those can be very useful when making parity plots of e.g. of machine learning models tested on large datasets:
density_scatter
could either be upgraded by adding a backend="plotly"
option or by making a new plot function density_scatter_plotly
. i prefer the 1st option from a user-facing API perspective but think the code would end up more readable taking the 2nd option. still, option 1 probably better.
given matbench discovery already has several examples of how to make such plots, it would largely be a case of wrapping the way bin_df_cols
is used here into a more streamlined user-friendly function.