mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-12 10:15:14 -05:00
fix code for coveralls
This commit is contained in:
@@ -49,7 +49,7 @@ class NLinkArm(object):
|
||||
if self.show_animation:
|
||||
self.plot()
|
||||
|
||||
def plot(self):
|
||||
def plot(self): # pragma: no cover
|
||||
plt.cla()
|
||||
|
||||
for i in range(self.n_links + 1):
|
||||
|
||||
@@ -159,5 +159,5 @@ def ang_diff(theta1, theta2):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
# animation()
|
||||
# main()
|
||||
animation()
|
||||
Reference in New Issue
Block a user