Movatterモバイル変換


[0]ホーム

URL:


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

Commit6af8d44

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR#23750: Fix rcParams documentation
1 parent026f70c commit6af8d44

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
defrcparam_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)

[8]ページ先頭

©2009-2025 Movatter.jp