8000 Update lib/matplotlib/axes/_axes.py · matplotlib/matplotlib@08ea320 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08ea320

Browse files
timhoffmstory645
andauthored
Update lib/matplotlib/axes/_axes.py
Co-authored-by: hannah <story645@gmail.com>
1 parent c447d73 commit 08ea320

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ def set_title(self, label, fontdict=None, loc=None, pad=None, *, y=None,
119119
120120
.. admonition:: Discouraged
121121
122-
The use of *fontdict* is discouraged. You can pass all parameters as
123-
individual keyword arguments, which is simpler if you only want to
124-
modidfy one or two properties. If you already have a dict, use
125-
dictionary-unpacking: ``set_title(..., **fontdict)``.
122+
The use of *fontdict* is discouraged. Parameters should be passed in as
123+
individual keyword arguments or using dictionary-unpacking ``set_title(..., **fontdict)``.
126124
127125
A dictionary controlling the appearance of the title text,
128126
the default *fontdict* is::

0 commit comments

Comments
 (0)
0