You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
catch runtimeerror for pylab import (migrated from Trac #330) #327
There are a number of imports of pylab in drawing/nx_pylab.py
They explicitly except/pass a RunTimeError while importing pylab.
I see that Scipy put in a check for this with a reasonable error message.
Passing the exception leads to spurious error messages later on when
the pylab module is used. It looks like the exception should be raised
rather than excepted.
Activity
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @dschult, 2010-03-24
(In [1595]) Catch RunTimeError when importing matplotlib/pylab
and give reasonable error message.
Fixes #330