tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale
authorDoug Smythies <doug.smythies@gmail.com>
Thu, 26 Mar 2020 16:20:07 +0000 (09:20 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 26 Mar 2020 19:05:58 +0000 (20:05 +0100)
A fixed y-axis scale was missed during a change to autoscale.

Correct it.

Fixes: 709bd70d070ee ("tools/power/x86/intel_pstate_tracer: change several graphs to autoscale y-axis")
Signed-off-by: Doug Smythies <dsmythies@telus.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py

index 256199c..3c47865 100755 (executable)
@@ -235,7 +235,6 @@ def plot_duration_cpu():
     output_png = 'all_cpu_durations.png'
     g_plot = common_all_gnuplot_settings(output_png)
 #   autoscale this one, no set y range
-    g_plot('set ytics 0, 500')
     g_plot('set ylabel "Timer Duration (MilliSeconds)"')
     g_plot('set title "{} : cpu durations : {:%F %H:%M}"'.format(testname, datetime.now()))