Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Cannot disable hoverinfo on a plotly express figure object

$
0
0

@halloleo wrote:

In the follwoing small Dash app:

df = pd.read_csv(...)
fig = px.line(x=.., y=.., color=..., template='presentation')
fig.update_traces(mode='lines+markers', hoverinfo='skip')
app = dash.Dash(__name__)
app.layout = htmlDiv([dcc.Graph(figure=fig)])

I still see hover popups on all traces, although I explicitly disable them via hoverinfo='skip'.

Do I have to use a call to another fig.update_.. method? I would like to keep the figure instantiation via fig = px.line(....

Thanks for any pointers.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images