Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d107790

Browse files
committed
Grey solid tick lines
1 parent f06c0a4 commit d107790

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
@@ -1089,9 +1089,9 @@ def validate_hist_bins(s):
10891089
'ytick.labelsize': ['medium', validate_fontsize],
10901090
'ytick.direction': ['in', six.text_type], # direction of yticks
10911091

1092-
'grid.color': ['k', validate_color], # grid color
1093-
'grid.linestyle': [':', six.text_type], # dotted
1094-
'grid.linewidth': [0.5, validate_float], # in points
1092+
'grid.color': ['#b0b0b0', validate_color], # grid color
1093+
'grid.linestyle': ['-', six.text_type], # solid
1094+
'grid.linewidth': [1.0, validate_float], # in points
10951095
'grid.alpha': [1.0, validate_float],
10961096

10971097

matplotlibrc.template

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ backend : %(backend)s
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
@@ -358,10 +358,10 @@ backend : %(backend)s
358358

359359

360360
### GRIDS
361-
#grid.color : black # grid color
362-
#grid.linestyle : : # dotted
363-
#grid.linewidth : 0.5 # in points
364-
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0
361+
#grid.color : '#b0b0b0' # grid color
362+
#grid.linestyle : - # solid
363+
#grid.linewidth : 1.0 # in points
364+
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0
365365

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

0 commit comments

Comments
 (0)