Skip to content

Commit bde1d98

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR #23750: Fix rcParams documentation
1 parent a4c888f commit bde1d98

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

doc/sphinxext/custom_roles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def depart_query_reference_node(self, node):
4343
def rcparam_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
4444
# Generate a pending cross-reference so that Sphinx will ensure this link
4545
# isn't broken at some point in the future.
46-
title = f'rcParam["{text}"]'
46+
title = f'rcParams["{text}"]'
4747
target = 'matplotlibrc-sample'
4848
ref_nodes, messages = inliner.interpreted(title, f'{title} <{target}>',
4949
'ref', lineno)

lib/matplotlib/mpl-data/matplotlibrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
## This is a sample Matplotlib configuration file - you can find a copy
66
## of it on your system in site-packages/matplotlib/mpl-data/matplotlibrc
77
## (relative to your Python installation location).
8-
##
9-
## You should find a copy of it on your system at
10-
## site-packages/matplotlib/mpl-data/matplotlibrc (relative to your Python
11-
## installation location). DO NOT EDIT IT!
8+
## DO NOT EDIT IT!
129
##
1310
## If you wish to change your default style, copy this file to one of the
1411
## following locations:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy