-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
Scatter plot fails for a single point. A work-around is to pass list with the same point twice, but it looks like there's an error with one-element arrays:
Code that fails:
plt.scatter([0.5, 0.3, 0.2], [0.2, 0.3, 0.5], s=10, color="red")
plt.scatter([0.4], [0.4], s=10, color="blue")
Hackish way of plotting:
plt.scatter([0.5, 0.3, 0.2], [0.2, 0.3, 0.5], s=10, color="red")
plt.scatter([0.4, 0.4], [0.4, 0.4], s=10, color="blue") # doubled point
Metadata
Metadata
Assignees
Labels
No labels