Skip to content
Snippets Groups Projects
Commit 571be20d authored by leufen1's avatar leufen1
Browse files

change log plot call

parent cc14b8b6
No related branches found
No related tags found
Loading
Pipeline #61277 passed
...@@ -84,7 +84,8 @@ class PlotModelHistory: ...@@ -84,7 +84,8 @@ class PlotModelHistory:
:param filename: name (including total path) of the plot to save. :param filename: name (including total path) of the plot to save.
""" """
ax = self._data[[self._plot_metric, f"val_{self._plot_metric}"]].plot(linewidth=0.7, logy=True) ax = self._data[[self._plot_metric, f"val_{self._plot_metric}"]].plot(linewidth=0.7)
ax.set_yscale('log')
if len(self._additional_columns) > 0: if len(self._additional_columns) > 0:
self._data[self._additional_columns].plot(linewidth=0.7, secondary_y=True, ax=ax, logy=True) self._data[self._additional_columns].plot(linewidth=0.7, secondary_y=True, ax=ax, logy=True)
title = f"Model {self._plot_metric}: best = {self._data[[f'val_{self._plot_metric}']].min().values}" title = f"Model {self._plot_metric}: best = {self._data[[f'val_{self._plot_metric}']].min().values}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment