Skip to content

Plotly chart Reset axes not working after Fullscreen #11327

@ghilesmeddour

Description

@ghilesmeddour

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

Hi,

Plotly chart Reset axes is not working after Fullscreen.

Reproducible Code Example

import plotly.express as px
import streamlit as st

data_canada = px.data.gapminder().query("country == 'Canada'")
fig = px.bar(data_canada, x="year", y="pop")

st.plotly_chart(fig)

Steps To Reproduce

Open in Streamlit Cloud

  1. Make a selection in the graph
  2. Click Fullscreen
  3. Reset axes is not working

Expected Behavior

No response

Current Behavior

No response

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.45.0
  • Plotly version : 6.0.1
  • Python version: 3.12
  • Operating System: Windows 11
  • Browser: Chrome

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:st.plotly_chartRelated to the `st.plotly_chart` elementpriority:P3Medium prioritystatus:confirmedBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions