✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Dash Cytoscape Fails To Load After App Reboot

I’ve recently started dash cytoscape and it is amazing! However, I’m running into a consistent problem. After rebooting the app, whether it be on localHost or on a 5 worker gunicorn deployed app the cytoscape js fails to load on the first attempt. The page must be reloaded to get cytoscape to load. With 5 workers that means hitting refresh a lot to get everything “primed” for other users. After cytoscape loads it seems to be good to go on subsequent visits to the page. Is there something I can do to prevent this behavior?

Dash Cytoscape Fails to Load After App Reboot

Server error is mentioning that dash_cytoscape is not a registered library.