File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-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
You can’t perform that action at this time.
0 commit comments