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
plot_box: use parse_fmt for the format string #322
plot_box reads its format string by hand (graphics.py, the for f in fmt loop in the unfilled branch): any letter in rgbcmywk becomes the edge color, and every other character is joined into the line style. That works for "r--" and "r:", but a marker ("r."), a cycle color ("C0") or a color name ("red") gives a line style Matplotlib refuses.
PR 321 (open) adds parse_fmt, which reads these strings the way plt.plot does. There is likely a smell here, so it would be worth checking whether plot_box can use it once that PR is merged.
Activity