How do I remove this from the hover box?

image

Hello, I do not know what it is called but I am trying to get rid of the text on the side of the hover.

Here is the code.

fig1 = px.bar(data_frame=sum_df, x=intervals, y=interval_sum, labels={'x':
                                                       'Complexity Interval',
                                                   'y':
                                                       f'Amount of '},
              color=intervals,
              color_discrete_sequence=[
                  "#44ce1b", "#bbdb44", "#f7e379", "#f2a134", "#e51f1f"

              ], hover_name=intervals
              )

fig1.update_traces(
    hovertemplate='Amount of =%{y}'
)

fig1.update_layout(bargap=0.01,
                   title={"text": f"Distribution of {option_slctd} Board Games by Complexity",
                          "x": 0.9,
                          "xanchor": "right",
                          "yanchor": "top"}
                   )

fig2 = go.Figure()

Hey @FB123 Welcome to the forums.

Does this help?

1 Like

yes it did, thank you so much!

1 Like