Black Lives Matter. Please consider donating to Black Girls Code today.

Truly Offline Python

Hi.

I’m trying Plotly out in my Python app.

It seems to do everything I need, but there’s one slight sticking point.

I’m developing in Pydev/Eclipse. I’m generating charts in offline mode, and it’s all working perfectly.

What I’m finding though, is every time I make a change to any file, my server re-deploys. Every time this happens, Plotly blocks the reload as it’s fetching a plot schema from api.plot.ly.

In production, this isn’t going to be a problem, but in development it it, as it extends the time it takes for a save & check to about 10 seconds.

Is there a way to suppress fetching the schema during test, or at least drop the timeout.

Thanks.

Pete.