Skip to content

Commit c81f0be

Browse files
committed
Fixed tests
1 parent 321f642 commit c81f0be

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

spatialmath/base/test_transforms.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ def test_plot(self):
446446
trplot2(transl2(1, 2), block=False, frame='A', rviz=True, width=1)
447447
trplot2(transl2(3, 1), block=False, color='red', arrow=True, width=3, frame='B')
448448
trplot2(transl2(4, 3)@trot2(math.pi / 3), block=False, color='green', frame='c')
449+
plt.close('all')
449450

450451

451452
class Test3D(unittest.TestCase):
@@ -786,10 +787,10 @@ def test_plot(self):
786787

787788
plt.clf()
788789
tranimate(transl(1, 2, 3), repeat=False)
789-
# tranimate(transl(1, 2, 3), repeat=False, pause=2)
790+
tranimate(transl(1, 2, 3), repeat=False, pause=2)
790791
# run again, with axes already created
791-
# tranimate(transl(1, 2, 3), repeat=False, pause=2, dims=[0, 10, 0, 10, 0, 10])
792-
792+
tranimate(transl(1, 2, 3), repeat=False, pause=2, dims=[0, 10, 0, 10, 0, 10])
793+
plt.close('all')
793794
# test animate with line not arrow, text, test with SO(3)
794795

795796
def test_trinterp(self):

0 commit comments

Comments
 (0)