Skip to content

Commit 38d4e31

Browse files
committed
Grey solid tick lines
1 parent 87ba8b0 commit 38d4e31

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def validate_hist_bins(s):
825825
'verbose.fileo': ['sys.stdout', six.text_type],
826826

827827
# line props
828-
'lines.linewidth': [1.0, validate_float], # line width in points
828+
'lines.linewidth': [2.5, validate_float], # line width in points
829829
'lines.linestyle': ['-', six.text_type], # solid line
830830
'lines.color': ['b', validate_color], # blue
831831
'lines.marker': ['None', six.text_type], # black
@@ -1096,9 +1096,9 @@ def validate_hist_bins(s):
10961096
'ytick.labelsize': ['medium', validate_fontsize],
10971097
'ytick.direction': ['in', six.text_type], # direction of yticks
10981098

1099-
'grid.color': ['k', validate_color], # grid color
1100-
'grid.linestyle': [':', six.text_type], # dotted
1101-
'grid.linewidth': [0.5, validate_float], # in points
1099+
'grid.color': ['#b0b0b0', validate_color], # grid color
1100+
'grid.linestyle': ['-', six.text_type], # solid
1101+
'grid.linewidth': [1.0, validate_float], # in points
11021102
'grid.alpha': [1.0, validate_float],
11031103

11041104

matplotlibrc.template

Lines changed: 5 additions & 5 deletions
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 : 1.0 # line width in points
81+
#lines.linewidth : 2.0 # 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
@@ -375,10 +375,10 @@ backend : $TEMPLATE_BACKEND
375375

376376

377377
### GRIDS
378-
#grid.color : black # grid color
379-
#grid.linestyle : : # dotted
380-
#grid.linewidth : 0.5 # in points
381-
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0
378+
#grid.color : '#b0b0b0' # grid color
379+
#grid.linestyle : - # solid
380+
#grid.linewidth : 1.0 # in points
381+
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0
382382

383383
### Legend
384384
#legend.fancybox : False # if True, use a rounded box for the

0 commit comments

Comments
 (0)