예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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)
예제 #4
0
 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)