diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-25 05:52:06 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-25 05:52:06 +0300 |
commit | 11075f01cf629a6e14cac9637c87709f36af3ab6 (patch) | |
tree | 94509ce5db3af20f6db2215e3406947619472c08 /algorithms/params.py | |
parent | improve command line parsing errors (diff) | |
download | sorting-algorithms-11075f01cf629a6e14cac9637c87709f36af3ab6.tar.gz sorting-algorithms-11075f01cf629a6e14cac9637c87709f36af3ab6.zip |
scientific notation by default in plots
Diffstat (limited to 'algorithms/params.py')
-rw-r--r-- | algorithms/params.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/algorithms/params.py b/algorithms/params.py index a66f7a2..cc35e33 100644 --- a/algorithms/params.py +++ b/algorithms/params.py @@ -101,6 +101,7 @@ class AlgorithmParameters: plot_builder.show_grid() plot_builder.set_xlabel(self._format_plot_xlabel()) plot_builder.set_ylabel(self._format_plot_ylabel()) + plot_builder.set_yticklabels_scientific() plot_builder.set_title(self._format_plot_title()) xs, ys = self.measure_running_time() plot_builder.plot(xs, ys) |