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
Just came across a minor annoyance in the ax.eventplot() API. Currently if you pass color= this overrides the colors= kwarg, and instead of setting a single color for each row of event markers, it has the effect of setting a repeating color sequence for the markers within every row.
Hopefully this example illustrates what I'm talking about:
Just came across a minor annoyance in the
ax.eventplot()
API. Currently if you passcolor=
this overrides thecolors=
kwarg, and instead of setting a single color for each row of event markers, it has the effect of setting a repeating color sequence for the markers within every row.Hopefully this example illustrates what I'm talking about:
It took me an embarrassingly long time to figure out that I needed to pass
colors
rather thancolor
in order to set the color for each row.The text was updated successfully, but these errors were encountered: