YttriLab / A-SOID

An active learning platform for expert-guided, data efficient discovery of behavior.
Other
55 stars 7 forks source link

PyplotGlobalUse IS DEPRECATED #78

Open koosjedr opened 8 months ago

koosjedr commented 8 months ago

Describe the bug When I start the streamlit app in the browser the app is launched however I get the following announcement:

deprecation.showPyplotGlobalUse IS DEPRECATED. The support for global pyplot instances is planned to be removed soon.

This option will be removed on or after 2024-04-15.

Please update .

However I have no clue on how to update this. The program used to work fine, however since this announcement I cannot use the GUI interface. Can somebody maybe tell me how/what to update? I do not have a lot of experience regarding this. Thanks!

Screenshots

Scherm­afbeelding 2024-03-21 om 12 08 27

Desktop (please complete the following information):

JensBlack commented 8 months ago

Seems to be an issue with the newest streamlit version as before they had a deprecation warning we suppressed. now they removed the warning...

Should be fixed by downgrading to v1.31.1. Just run:

pip install streamlit==1.31.1

I will change the minimum requirement for streamlit in the next update. Thank you for reporting this!