Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legend title does not appear in dx plot by #1001

Open
jnumainville opened this issue Nov 8, 2024 · 0 comments
Open

Legend title does not appear in dx plot by #1001

jnumainville opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working plotly-express Involves plotly-express plugin
Milestone

Comments

@jnumainville
Copy link
Collaborator

In px, when there is a "plot by" equivalent, the legend title is set. This is not being set in dx.

import plotly.express as px
import deephaven.plot.express as dx

df = px.data.tips()

dx_bar = dx.bar(df, x="size", y=["tip", "total_bill"])
px_bar = px.bar(df, x="size", y=["tip", "total_bill"])
Screenshot 2024-11-08 at 10 14 23 AM Screenshot 2024-11-08 at 10 14 41 AM

This is a minor bug on it's own, but it could be worth considering if we want to also expose a new arg legend_title in all plots when fixing this, as it would be mostly trivial to do in addition to the minor work necessary here.

@jnumainville jnumainville added bug Something isn't working plotly-express Involves plotly-express plugin triage labels Nov 8, 2024
@vbabich vbabich added this to the November 2024 milestone Nov 12, 2024
@vbabich vbabich removed the triage label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plotly-express Involves plotly-express plugin
Projects
None yet
Development

No branches or pull requests

2 participants