8000 Include default rcparam in rc role, flake · matplotlib/matplotlib@efd3505 · GitHub
[go: up one dir, main page]

Skip to content

Commit efd3505

Browse files
Include default rcparam in rc role, flake
1 parent 27ce832 commit efd3505

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/sphinxext/custom_roles.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
from os.path import sep
33
from matplotlib import rcParamsDefault
44

5+
56
def rcparam_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
6-
7+
78
param = rcParamsDefault.get(text)
89
if isinstance(param, str):
910
txt = f' : "{param}"'

0 commit comments

Comments
 (0)
0