diff --git a/scripts/calibrate_shaper.py b/scripts/calibrate_shaper.py index 74e34c94..bd2d4308 100755 --- a/scripts/calibrate_shaper.py +++ b/scripts/calibrate_shaper.py @@ -88,9 +88,7 @@ def plot_freq_response(lognames, calibration_data, shapers, title = "Frequency response and shapers (%s)" % (', '.join(lognames)) ax.set_title("\n".join(wrap(title, MAX_TITLE_LENGTH))) - ax.xaxis.set_minor_locator(matplotlib.ticker.AutoMinorLocator()) - ax.yaxis.set_minor_locator(matplotlib.ticker.AutoMinorLocator()) - ax.xaxis.set_minor_locator(matplotlib.ticker.AutoMinorLocator()) + ax.xaxis.set_minor_locator(matplotlib.ticker.MultipleLocator(5)) ax.yaxis.set_minor_locator(matplotlib.ticker.AutoMinorLocator()) ax.ticklabel_format(axis='y', style='scientific', scilimits=(0,0)) ax.grid(which='major', color='grey')