We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18a7855 commit b8e5f62Copy full SHA for b8e5f62
1 file changed
pymoo/visualization/util.py
@@ -29,12 +29,12 @@ def get_uniform_points_around_circle(n):
29
def plot_circle(ax, center=0, radius=1, **kwargs):
30
P = get_circle_points(5000)
31
P = (P + center) * radius
32
- plot(P[:, 0], P[:, 1], **kwargs)
+ plt.plot(P[:, 0], P[:, 1], **kwargs)
33
34
35
def plot_radar_line(ax, x, **kwargs):
36
x = np.vstack([x, x[0]])
37
- plot(x[:, 0], x[:, 1], **kwargs)
+ plt.plot(x[:, 0], x[:, 1], **kwargs)
38
39
40
def plot_axes_arrow(ax, X, extend_factor=1.0, **kwargs):
@@ -44,7 +44,7 @@ def plot_axes_arrow(ax, X, extend_factor=1.0, **kwargs):
44
45
def plot_axes_lines(ax, X, extend_factor=1.0, **kwargs):
46
for (x, y) in X:
47
- plot([0, x * extend_factor], [0, y * extend_factor], **kwargs)
+ plt.plot([0, x * extend_factor], [0, y * extend_factor], **kwargs)
48
49
50
def plot_polygon(ax, x, **kwargs):
0 commit comments