8000 fixed plotting methods · naren200/robotics-toolbox-python@efb3855 · GitHub
[go: up one dir, main page]

Skip to content

Commit efb3855

Browse files
committed
fixed plotting methods
1 parent 538210e commit efb3855

File tree

2 files changed

+640
-602
lines changed

2 files changed

+640
-602
lines changed

roboticstoolbox/backends/PyPlot/EllipsePlot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"""
55

66
import numpy as np
7+
78
# import scipy as sp
89
from spatialmath import base
910
import matplotlib.pyplot as plt
@@ -52,7 +53,7 @@ def make(self):
5253

5354

5455
class EllipsePlot:
55-
def __init__(self, robot, q, etype, opt="trans", centre=[0, 0, 0], scale=1):
56+
def __init__(self, robot, q, etype, opt="trans", centre=[0, 0, 0], scale=1.0):
5657

5758
super(EllipsePlot, self).__init__()
5859

0 commit comments

Comments
 (0)
0