Skip to content

Commit e453a55

Browse files
committed
pass more arguments from plot() through to backend.add()
1 parent 7994078 commit e453a55

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

roboticstoolbox/robot/Robot.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,9 +1249,7 @@ def _get_graphical_backend(self, backend=None):
12491249
def plot(
12501250
self, q, backend=None, block=False, dt=0.050,
12511251
limits=None, vellipse=False, fellipse=False,
1252-
jointaxes=True, jointlabels=False, eeframe=True, shadow=True, name=True, fig=None,
1253-
movie=None, loop=False, **bopts
1254-
):
1252+
fig=None, movie=None, loop=False, **kwargs):
12551253
"""
12561254
Graphical display and animation
12571255
@@ -1334,8 +1332,7 @@ def plot(
13341332
env.launch(self.name + ' Trajectory Plot', limits=limits, fig=fig)
13351333

13361334
env.add(
1337-
self, readonly=True, jointaxes=jointaxes, jointlabels=jointlabels,
1338-
eeframe=eeframe, shadow=shadow, name=name)
1335+
self, readonly=True, **kwargs)
13391336

13401337
if vellipse:
13411338
vell = self.vellipse(centre='ee')

0 commit comments

Comments
 (0)