Esempio n. 1
0
 def test_plot(self):
   if not HAS_MPL or not HAS_NUMPY:
     return
   tab = fixtures.create_test_table()
   self.assertRaises(ValueError, tab.plot, 'second', x_range=1)
   self.assertRaises(ValueError, tab.plot, x='second', y='third', y_range=[1,2,3])
   self.assertRaises(ValueError, tab.plot, x='second', y='third', z_range='st')