deephaven / deephaven-plugins

Deephaven Plugins
5 stars 12 forks source link

Strip plot does not actually render data points by default #548

Open alexpeters1208 opened 4 weeks ago

alexpeters1208 commented 4 weeks ago

Create a strip plot with dx.strip:

import plotly.express as px
from deephaven.pandas import to_table

tips = to_table(px.data.tips())

bill_distr = dx.strip(tips, x="total_bill", by="day")

The frame of the plot and axis labels will render, but the points themselves do not show up:

Screenshot 2024-06-13 at 10 10 58 AM

If you include a color explicitly:

bill_distr = dx.strip(tips, x="total_bill", by="day", color_discrete_sequence=["red"])

The plot will show up correctly:

Screenshot 2024-06-13 at 10 11 13 AM