Plotly returns values to the terminal

I am using a combination of plotly graph objects and streamlit-plolty-events. Whenever a new plot is created there is a bunch of values being returned to the terminal. Is there a way to prevent this?

Hi @Ridha, welcome to the Streamlit community!

Can you post a code snippet that demonstrates this behavior? Without seeing the code, I would guess that you have a print(plt) statement somewhere which is writing to the terminal.

Best,
Randy

I solved the issue yesterday. Yes, you are right. The program was being run like a notebook with py.init_notebook_mode() which was causing the terminal return issue.