It should also be noted that attributes like "weight" and "stretch" are
only hints for the purpose of finding a font. That is, if you request a
bold version of a font, and it does not exist, the closest matching font
will be used instead. matplotlib (more specifically freetype) does not
do "fon
Do you have fonts whose family name is "sans serif"?
Maybe you meant "sans-serif"?
"sans-serif" searches for fonts whose family name is in
rcParams["font.sans-serif"], but "sans serif" only search for "sans
serif".
I don't think it has anything to do with annotation.
Check if findfont gives you a