@@ -466,7 +466,7 @@ def revolutejoints(self):
466466 .. note:: Fixed joints, that maintain a constant link relative pose,
467467 are not included. ``len(self.structure) == self.n``.
468468
469- :seealso: :func:`Link.isrevolute`, :func:`prismaticjoints`
469+ :seealso: :func:`Link.isrevolute`, :func:`prismaticjoints`
470470 """
471471 return [link .isrevolute for link in self if link .isjoint ]
472472
@@ -1088,7 +1088,7 @@ def qlim(self):
10881088 :rtype: ndarray(2,n)
10891089 :exception ValueError: unset limits for a prismatic joint
10901090
1091- Limits are extracted from the link objects. If joints limits are
1091+ Limits are extracted from the link objects. If joints limits are
10921092 not set for:
10931093
10941094 - a revolute joint [-𝜋. 𝜋] is returned
@@ -1237,19 +1237,21 @@ def _get_graphical_backend(self, backend=None):
12371237
12381238 # find the right backend, modules are imported here on an as needs
12391239 # basis
1240- if backend == 'swift' or default == 'swift' : # pragma nocover
1240+ if backend == 'swift' or default == 'swift' : # pragma nocover
12411241 # swift was requested, is it installed?
12421242 if isinstance (self , rtb .DHRobot ):
12431243 raise NotImplementedError (
12441244 'Plotting in Swift is not implemented for DHRobots yet' )
12451245 try :
12461246 # yes, use it
1247- from roboticstoolbox .backends .Swift import Swift
1247+ from roboticstoolbox .backends .swift import Swift
12481248 env = Swift ()
12491249 return env
12501250 except ModuleNotFoundError :
12511251 if backend == 'swift' :
1252- print ('Swift is not installed, install it using pip or conda' )
1252+ print (
1253+ 'Swift is not installed, '
1254+ 'install it using pip or conda' )
12531255 backend = 'pyplot'
12541256
12551257 elif backend == 'vpython' or default == 'vpython' : # pragma nocover
@@ -1264,7 +1266,9 @@ def _get_graphical_backend(self, backend=None):
12641266 return env
12651267 except ModuleNotFoundError :
12661268 if backend == 'vpython' :
1267- print ('VPython is not installed, install it using pip or conda' )
1269+ print (
1270+ 'VPython is not installed, '
1271+ 'install it using pip or conda' )
12681272 backend = 'pyplot'
12691273
12701274 if backend is None :
@@ -1384,7 +1388,7 @@ def plot(
13841388
13851389 if movie is not None :
13861390 loop = False
1387-
1391+
13881392 while True :
13891393 for qk in q :
13901394 self .q = qk
0 commit comments