speed_fig.add_trace(go.Bar(
x=filtered_data[‘names’],
y=filtered_data[‘data’],
name=’ Data’,
marker_color=‘#FC3C80’,
text=filtered_data[‘data’],
textposition=“auto”,
textangle=90,
textfont=dict(size=18),
hovertemplate=‘
Speed: %{text}’,
)
)
Hi @preety, please share a screenshot of the figure you have so far and indicate which piece of text you wish to modify.
Also if you could format your code using the code formatter that’d be great.
1 Like