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
in the class LineCollection, the argument linestyle has no effect neither if set directly or if set afterwards with set_linestyle or with set(linestyle='--')
set_color does work. maybe its just linestyle that doesnt.
Code for reproduction
coord_start=np.column_stack((x_midpts[:-1], y_midpts[:-1]))[:, np.newaxis, :]
coord_mid=np.column_stack((x, y))[:, np.newaxis, :]
coord_end=np.column_stack((x_midpts[1:], y_midpts[1:]))[:, np.newaxis, :]
segments=np.concatenate((coord_start, coord_mid, coord_end), axis=1)
lc=LineCollection(segments, **default_kwargs)
#lc.set_array(values) # set the colors of each segment#lc.set_linestyle(':')#lc.set_color(c)lc.set(color=c, linestyle='--')
Actual outcome
linestyle doesnt change
Expected outcome
linestyle should change to the type i gave as input
Additional information
No response
Operating system
No response
Matplotlib Version
3.5.3 and 3.9.1
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
The text was updated successfully, but these errors were encountered:
Bug summary
in the class LineCollection, the argument linestyle has no effect neither if set directly or if set afterwards with set_linestyle or with set(linestyle='--')
set_color does work. maybe its just linestyle that doesnt.
Code for reproduction
Actual outcome
linestyle doesnt change
Expected outcome
linestyle should change to the type i gave as input
Additional information
No response
Operating system
No response
Matplotlib Version
3.5.3 and 3.9.1
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
The text was updated successfully, but these errors were encountered: