Prevent new tab containing chart to be launched with every refresh

Hi guys,

On one of the app Iā€™m creating, a new tab containing a plotly express chart is launched with every refresh - see video attached for details ->

2020-06-14_22-43-15

The issue seems to be appearing with plotly express only - Has anyone come across something similar?

Note that every new tab has a different code, e.g. http://127.0.0.1:61231/ or http://127.0.0.1:61279/

Happy to share the code if needs be :slight_smile:

Thanks,
Charly

Fixed!

There was a fig.show() in my code, along with st.plotly_chart(fig)! :slight_smile:

2 Likes