8000 Backport PR #15132: Update documenting guide on rcParams · matplotlib/matplotlib@72ba424 · GitHub
[go: up one dir, main page]

Skip to content

Commit 72ba424

Browse files
QuLogicMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #15132: Update documenting guide on rcParams
1 parent 8cdf5b8 commit 72ba424

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

doc/devel/documenting_mpl.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -500,15 +500,8 @@ section of the docstring.
500500
rcParams
501501
~~~~~~~~
502502
rcParams can be referenced with the custom ``:rc:`` role:
503-
:literal:`:rc:\`foo\`` yields ``rcParams["foo"]``. Use `= [default-val]`
504-
to indicate the default value of the parameter. The default value should be
505-
literal, i.e. enclosed in double backticks. For simplicity these may be
506-
omitted for string default values.
507-
508-
.. code-block:: rst
509-
510-
If not provided, defaults to :rc:`figure.figsize` = ``[6.4, 4.8]``.
511-
If not provided, defaults to :rc:`figure.facecolor` = 'w'.
503+
:literal:`:rc:\`foo\`` yields ``rcParams["foo"] = 'default'``, which is a link
504+
to the :file:`matplotlibrc` file description.
512505

513506
Deprecated formatting conventions
514507
---------------------------------

0 commit comments

Comments
 (0)
0