We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8979b5c commit 0ccb51fCopy full SHA for 0ccb51f
lib/matplotlib/text.py
@@ -976,6 +976,11 @@ def set_fontfamily(self, fontname):
976
strings in decreasing priority. Each string may be either a real font
977
name or a generic font class name. If the latter, the specific font
978
names will be looked up in the corresponding rcParams.
979
+ Defaults to `matplotlib.rcParams['font.family']`.
980
+ If a `Text` instance is constructed with `fontfamily=None`, then the
981
+ font is set to `matplotlib.rcParams['font.family']`, and the
982
+ same is done when `set_fontfamily()` is called on an existing
983
+ `Text` instance.
984
985
Parameters
986
----------
0 commit comments