Skip to content

Commit 9cffe0e

Browse files
authored
Merge pull request matplotlib#12434 from galenlynch/clarify_TextArea_fontprops_documentation
Clarify documentation for textprops keyword parameter of TextArea
2 parents 4b1e79f + 2aa52db commit 9cffe0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/offsetbox.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,9 @@ def __init__(self, s,
701701
s : str
702702
a string to be displayed.
703703
704-
textprops : `~matplotlib.font_manager.FontProperties`, optional
704+
textprops : dictionary, optional, default: None
705+
Dictionary of keyword parameters to be passed to the
706+
`~matplotlib.text.Text` instance contained inside TextArea.
705707
706708
multilinebaseline : bool, optional
707709
If `True`, baseline for multiline text is adjusted so that

0 commit comments

Comments
 (0)