This commit is contained in:
allegroai 2020-01-02 11:55:59 +02:00
parent 7110b938ae
commit f4be527a21

View File

@ -126,7 +126,7 @@ class PatchedMatplotlib:
@staticmethod @staticmethod
def update_current_task(task): def update_current_task(task):
# make sure we have a default value # make sure we have a default vale
if PatchedMatplotlib._global_image_counter_limit is None: if PatchedMatplotlib._global_image_counter_limit is None:
from ..config import config from ..config import config
PatchedMatplotlib._global_image_counter_limit = config.get('metric.matplotlib_untitled_history_size', 100) PatchedMatplotlib._global_image_counter_limit = config.get('metric.matplotlib_untitled_history_size', 100)