InstituteforDiseaseModeling / covasim

COVID-19 Agent-based Simulator (Covasim): a model for exploring coronavirus dynamics and interventions
https://covasim.org
MIT License
255 stars 224 forks source link

Covasim tutorials on Binder fail on sciris import #389

Closed edwenger closed 2 years ago

edwenger commented 2 years ago

Binder-hosted covasim tutorials fails on sciris import (specifically some deprecated matplotlib.colors function calls from sc_colors.py)

Screen Shot 2022-10-28 at 14 00 51

Looks as if pip install sciris==2.0.3 (instead of 2.02, which the tutorial loads by default) is the fix. https://github.com/sciris/sciris/blame/develop/sciris/sc_colors.py

cliffckerr commented 2 years ago

Thanks @edwenger , will get this fixed today!

cliffckerr commented 2 years ago

Fixed -- bumping the version in requirements.txt seemed to trigger a cache clear for Binder.