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
Rename _get_agg_font to _prepare_font, as it doesn't really do
anything agg-specific. Fix its docstring. Rename the *prop* arg to
*font_prop*, which makes its type clear in the context (and avoids
having to mention it in the docstring, thus keeping the docstring
single-line).
_get_agg_font/_prepare_font never returns None (e.g. we always call
`clear` on the font instance) so skip a None check in draw_text.
Skip a few temporary variables, which don't add much to legibility.
0 commit comments