@@ -55,7 +55,7 @@ def plot_nyquist(Z, scale=1, units='Ohms', fmt='.-', ax=None, labelsize=20,
55
55
ax .locator_params (axis = 'y' , nbins = 5 , tight = True )
56
56
57
57
# Add a light grid
58
- ax .grid (b = True , which = 'major' , axis = 'both' , alpha = .5 )
58
+ ax .grid (visible = True , which = 'major' , axis = 'both' , alpha = .5 )
59
59
60
60
# Change axis units to 10**log10(scale) and resize the offset text
61
61
limits = - np .log10 (scale )
@@ -126,7 +126,7 @@ def plot_bode(f, Z, scale=1, units='Ohms', fmt='.-', axes=None, labelsize=20,
126
126
ax .locator_params (axis = 'y' , nbins = 5 , tight = True )
127
127
128
128
# Add a light grid
129
- ax .grid (b = True , which = 'major' , axis = 'both' , alpha = .5 )
129
+ ax .grid (visible = True , which = 'major' , axis = 'both' , alpha = .5 )
130
130
131
131
# Change axis units to 10**log10(scale) and resize the offset text
132
132
limits = - np .log10 (scale )
@@ -323,7 +323,7 @@ def plot_residuals(ax, f, res_real, res_imag, fmt='.-', y_limits=(-5, 5),
323
323
ax .locator_params (axis = 'y' , nbins = 4 , tight = True )
324
324
325
325
# Add a light grid
326
- ax .grid (b = True , which = 'major' , axis = 'both' , alpha = .5 )
326
+ ax .grid (visible = True , which = 'major' , axis = 'both' , alpha = .5 )
327
327
ax .legend (fontsize = 14 )
328
328
329
329
ax .set_ylim (y_limits )
0 commit comments