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
This allows one to use `text(..., font=Path("/path/to/font.ttf"))`
rather than the more cumbersome
`fontproperties=FontProperties(fname="/path/to/font.ttf")`.
Note that we do not allow `font="/path/to/font.ttf"` and instead only
support Path objects because we also already support `font="DejaVu Sans"`
and I would rather not guess whether we have been passed a path or a
family (if there is really demand for that we can always add it later
anyways).
0 commit comments