Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_algorithms, meas_modelfit
-
Labels:None
-
Team:SQuaRE
Description
Catch RuntimeError in addition to ImportError when testing for matplotlib with things like:
from matplotlib import pyplot |
import matplotlib.pyplot as plt |
I have some weird issue on my laptop where
from matplotlib import pyplot |
throws a RuntimeError when DISPLAY is unset.
scons unsets DISPLAY when compiling.
This bug has allowed me to notice a few unncessary imports of pyplot, particular in test cases.
Michael Wood-Vasey correct