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
Streamplots with multicoloured lines arent properly coloured when the tikzplot is created.
I solved the issue by adding the following snippet to _line2d.draw_linecollection (has to be before edgecolors = obj.get_edgecolors()):
obj.update_scalarmappable()
I'm not sure if it solves all cases or there are similar issues elsewhere, but this worked for me!
The text was updated successfully, but these errors were encountered:
Streamplots with multicoloured lines arent properly coloured when the tikzplot is created.
I solved the issue by adding the following snippet to
_line2d.draw_linecollection
(has to be beforeedgecolors = obj.get_edgecolors()
):I'm not sure if it solves all cases or there are similar issues elsewhere, but this worked for me!
The text was updated successfully, but these errors were encountered: