File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 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):
412412                   color = rcParams ['grid.color' ],
413413                   linestyle = rcParams ['grid.linestyle' ],
414414                   linewidth = rcParams ['grid.linewidth' ],
415+                    alpha = rcParams ['grid.alpha' ],
415416                   )
416417        l .set_transform (self .axes .get_xaxis_transform (which = 'grid' ))
417418        l .get_path ()._interpolation_steps  =  GRIDLINE_INTERPOLATION_STEPS 
@@ -550,6 +551,7 @@ def _get_gridline(self):
550551                    color = rcParams ['grid.color' ],
551552                    linestyle = rcParams ['grid.linestyle' ],
552553                    linewidth = rcParams ['grid.linewidth' ],
554+                     alpha = rcParams ['grid.alpha' ],
553555                    )
554556
555557        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):
539539    'grid.color'        : ['k' , validate_color ],       # grid color 
540540    'grid.linestyle'    : [':' , str ],       # dotted 
541541    'grid.linewidth'    : [0.5 , validate_float ],     # in points 
542+     'grid.alpha'        : [1.0 , validate_float ],
542543
543544
544545    # 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
271271#grid.color       :   black   # grid color
272272#grid.linestyle   :   :       # dotted
273273#grid.linewidth   :   0.5     # in points
274+ #grid.alpha       :   1.0     # transparency, between 0.0 and 1.0
274275
275276### Legend
276277#legend.fancybox      : False  # if True, use a rounded box for the
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments