Skip to content

Commit

Permalink
Drop unnecessary label arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed Feb 3, 2025
1 parent fc66e13 commit 9d8a7fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Multi_Target/pareto.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def lookup(arr: np.ndarray) -> np.ndarray:
fig, axs = plt.subplots(1, 2, figsize=(10, 5))

plt.sca(axs[0])
plt.contour(x0_mesh, x1_mesh, y0_mesh, colors="tab:red", alpha=0.2, label="")
plt.contour(x0_mesh, x1_mesh, y1_mesh, colors="tab:blue", alpha=0.2, label="")
plt.contour(x0_mesh, x1_mesh, y0_mesh, colors="tab:red", alpha=0.2)
plt.contour(x0_mesh, x1_mesh, y1_mesh, colors="tab:blue", alpha=0.2)
plt.plot(*np.c_[CENTER_Y0, CENTER_Y1], "k", label="frontier")
plt.plot(data[x0.name], data[x1.name], "o", color="0.7", markersize=2, label="training")
plt.plot(rec_y0[x0.name], rec_y0[x1.name], "o", color="tab:red", label="single_y0")
Expand Down

0 comments on commit 9d8a7fb

Please sign in to comment.