You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ENH/BUG]: Scatter/Collection line style improvements #22984
Especially, they do not support the empty linestyle ('', ' ', 'None', 'none'), but seems to support all other options. Seems to make sense to add that so that one can just point at the linestyles document.
There is also an issue with that the code hanging for zero dash-lengths. This is similar to the bug fixed in #22569 (which introduced another issue #22930, fixed in #22931, so one should take care to not repeat that).
Examples:
import matplotlib.pyplot as plt
plt.scatter([1, 2], [2, 1], marker='s', linestyle='')
produces an error ValueError: Do not know how to convert '' to dashes.
Activity
CatChenal commentedon Jul 10, 2024
FYI:
ls = ''is supported for Line2D:https://matplotlib.org/3.8.4/api/_as_gen/matplotlib.lines.Line2D.html#matplotlib.lines.Line2D