Hello,
I am developing a simple app using bokeh (==2.2.1) and streamlit (==0.66.0).
When I compile the app (using streamlit) I get two identical bokeh charts. After refreshing the site( browser) the normal behavior, i.e. no duplicate chart is seen. It is quite random. This behavior was observed both in offline (localhost) and online (Heroku app) mode.
The Matplotlib plot works perfectly, which can be seen here: https://keff-app.herokuapp.com/
The .py file using bokeh is here: https://github.com/prabhasyadav/keff-app/blob/master/keff_fb.py
Not able to understand what exactly is the issue- likely something at the backend. I am not good enough to understand the backend process. You can easily call me a Noob.
Could someone suggest something? Bokeh is a much better chart option compared to Matplotlib, especially for web.
Prabhas