def test_plot_arrows(): cent = np.random.random((100, 3)) direction = np.random.random((100, 3)) cpos, img = vtki.plot_arrows(cent, direction, off_screen=True, screenshot=True) assert np.any(img)
def afficher_vitesse(self): vtki.plot_arrows((self.__xs, self.__ys, self.__zs), (self.__us, self.__vs, self.__ws))