plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

How to override box chart hover template, trace name is repeating in each property on hover.

Open patilabhay679 opened this issue 4 years ago • 1 comments

import plotly.graph_objects as go
from plotly.data import iris

# Load the dataset
df = iris()

fig = go.Figure()

fig.add_box(x =df['sepal_length'],name='sepal_length')
fig.add_box(x =df['sepal_width'],name='sepal_width')
fig.add_box(x=df['petal_length'],name='petal_length')
fig.add_box(x=df['petal_width'],name='petal_width')

fig.update_layout(template ='gridon')
fig.show()

image

How to Remove the Trace name i.e. "petal width", from hover of each property of box plot? having legend intact.

patilabhay679 avatar Aug 08 '22 10:08 patilabhay679

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

gvwilson avatar Jul 04 '24 13:07 gvwilson