requires_pylab

sherpa.utils.testing.requires_pylab(test_function)[source] [edit on github]

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