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

Appearance settings

Commit f859b74

Browse filesBrowse files
committed
Merge pull request #6300 from mdboom/linewidth
Remake of #6286
2 parents 18accb7 + f5e87d4 commit f859b74
Copy full SHA for f859b74

File tree

Expand file treeCollapse file tree

9 files changed

+5
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

9 files changed

+5
-2
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/rcsetup.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/rcsetup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ def validate_animation_writer_path(p):
865865
'verbose.fileo': ['sys.stdout', six.text_type],
866866

867867
# line props
868-
'lines.linewidth': [2.5, validate_float], # line width in points
868+
'lines.linewidth': [1.5, validate_float], # line width in points
869869
'lines.linestyle': ['-', six.text_type], # solid line
870870
'lines.color': ['b', validate_color], # blue
871871
'lines.marker': ['None', six.text_type], # black
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Collapse file

‎lib/matplotlib/tests/test_backend_pgf.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_pgf.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ def test_rcupdate():
134134
'\\usepackage[T1]{fontenc}',
135135
'\\usepackage{sfmath}']})
136136
tol = (6, 0)
137+
original_params = mpl.rcParams.copy()
137138
for i, rc_set in enumerate(rc_sets):
139+
mpl.rcParams.clear()
140+
mpl.rcParams.update(original_params)
138141
mpl.rcParams.update(rc_set)
139142
create_figure()
140143
compare_figure('pgf_rcupdate%d.pdf' % (i + 1), tol=tol[i])
Collapse file

‎matplotlibrc.template‎

Copy file name to clipboardExpand all lines: matplotlibrc.template
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ backend : $TEMPLATE_BACKEND
7878
### LINES
7979
# See http://matplotlib.org/api/artist_api.html#module-matplotlib.lines for more
8080
# information on line properties.
81-
#lines.linewidth : 2.0 # line width in points
81+
#lines.linewidth : 1.5 # line width in points
8282
#lines.linestyle : - # solid line
8383
#lines.color : blue # has no affect on plot(); see axes.prop_cycle
8484
#lines.marker : None # the default marker

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.