File tree 3 files changed +4
-0
lines changed 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,7 @@ def _get_gridline(self):
412
412
color = rcParams ['grid.color' ],
413
413
linestyle = rcParams ['grid.linestyle' ],
414
414
linewidth = rcParams ['grid.linewidth' ],
415
+ alpha = rcParams ['grid.alpha' ],
415
416
)
416
417
l .set_transform (self .axes .get_xaxis_transform (which = 'grid' ))
417
418
l .get_path ()._interpolation_steps = GRIDLINE_INTERPOLATION_STEPS
@@ -550,6 +551,7 @@ def _get_gridline(self):
550
551
color = rcParams ['grid.color' ],
551
552
linestyle = rcParams ['grid.linestyle' ],
552
553
linewidth = rcParams ['grid.linewidth' ],
554
+ alpha = rcParams ['grid.alpha' ],
553
555
)
554
556
555
557
l .set_transform (self .axes .get_yaxis_transform (which = 'grid' ))
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ def __call__(self, s):
539
539
'grid.color' : ['k' , validate_color ], # grid color
540
540
'grid.linestyle' : [':' , str ], # dotted
541
541
'grid.linewidth' : [0.5 , validate_float ], # in points
542
+ 'grid.alpha' : [1.0 , validate_float ],
542
543
543
544
544
545
# figure props
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ text.hinting_factor : 8 # Specifies the amount of softness for hinting in the
271
271
#grid.color : black # grid color
272
272
#grid.linestyle : : # dotted
273
273
#grid.linewidth : 0.5 # in points
274
+ #grid.alpha : 1.0 # transparency, between 0.0 and 1.0
274
275
275
276
### Legend
276
277
#legend.fancybox : False # if True, use a rounded box for the
You can’t perform that action at this time.
0 commit comments