Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 4355c4a

Browse files
authored
Merge pull request matplotlib#23750 from QuLogic/fix-rcparams
Fix rcParams documentation
2 parents 01e916d + 1298714 commit 4355c4a

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)

AltStyle によって変換されたページ (->オリジナル) /