Esempio n. 1
0
 def test_add_patches(self):
     fig, ax = pl.subplots()
     x = np.arange(0, 10)
     y = np.arange(0, 10)
     xy = np.dstack((x, y))
     vis.add_patches(ax, xy)
     vis.add_patches(ax, np.array([xy]))
Esempio n. 2
0
 def test_add_patches(self):
     fig, ax = pl.subplots()
     x = np.arange(0, 10)
     y = np.arange(0, 10)
     xy = np.dstack((x, y))
     vis.add_patches(ax, xy)
     vis.add_patches(ax, np.array([xy]))