Skip to content

Commit b6e0b9b

Browse files
committed
Merge pull request #6300 from mdboom/linewidth
Remake of #6286
1 parent 5fb9d9e commit b6e0b9b

File tree

9 files changed

+5
-2
lines changed

9 files changed

+5
-2
lines changed

lib/matplotlib/rcsetup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def validate_hist_bins(s):
850850
'verbose.fileo': ['sys.stdout', six.text_type],
851851

852852
# line props
853-
'lines.linewidth': [2.5, validate_float], # line width in points
853+
'lines.linewidth': [1.5, validate_float], # line width in points
854854
'lines.linestyle': ['-', six.text_type], # solid line
855855
'lines.color': ['b', validate_color], # blue
856856
'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.

lib/matplotlib/tests/test_backend_pgf.py

+3
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])

matplotlibrc.template

+1-1
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)