def test_plot(self): try: import matplotlib except ImportError: pytest.skip("This test requires matplotlib.") from channelarchiver import plot_channels start = datetime.datetime(2012, 1, 1, tzinfo=utc) end = datetime.datetime(2013, 1, 1, tzinfo=utc) plot_channels.plot(self.archiver,'EXAMPLE:DOUBLE_SCALAR{TD:1}', 'EXAMPLE:INT_WAVEFORM', start, end)
def test_plot(self): try: import matplotlib except ImportError: raise nose.SkipTest("This tests featuring requiring matplotlib.") from channelarchiver import plot_channels start = datetime.datetime(2012, 1, 1, tzinfo=utc) end = datetime.datetime(2013, 1, 1, tzinfo=utc) plot_channels.plot(self.archiver,'EXAMPLE:DOUBLE_SCALAR{TD:1}', 'EXAMPLE:INT_WAVEFORM', start, end)
def test_plot(self): try: import matplotlib except ImportError: raise nose.SkipTest("This tests featuring requiring matplotlib.") from channelarchiver import plot_channels start = datetime.datetime(2012, 1, 1, tzinfo=utc) end = datetime.datetime(2013, 1, 1, tzinfo=utc) plot_channels.plot(self.archiver, 'EXAMPLE:DOUBLE_SCALAR{TD:1}', 'EXAMPLE:INT_WAVEFORM', start, end)
def test_plot(self): start = datetime.datetime(2012, 1, 1, tzinfo=utc) end = datetime.datetime(2013, 1, 1, tzinfo=utc) plot_channels.plot(self.archiver,'EXAMPLE:DOUBLE_SCALAR{TD:1}', 'EXAMPLE:INT_WAVEFORM', start, end)