requires_pylab

sherpa.utils.testing.requires_pylab(test_function)[source]

Returns True if the pylab module is available (pylab). Used to skip tests requiring matplotlib