From 457f0b71c8c7b67aab2bf5b7b61b42f102763b81 Mon Sep 17 00:00:00 2001 From: danmalowany-allegro <56926581+danmalowany-allegro@users.noreply.github.com> Date: Mon, 6 Jan 2020 18:12:00 +0200 Subject: [PATCH 1/2] Fixed scatter type in report_scatter3d to Union --- trains/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trains/logger.py b/trains/logger.py index 2d7a9b94..11bca46d 100644 --- a/trains/logger.py +++ b/trains/logger.py @@ -211,7 +211,7 @@ class Logger(object): :param str title: Title (AKA metric) :param str series: Series (AKA variant) - :param np.ndarray scatter: A scattered data: list of (pairs of x,y,z) (or numpy array) + :param Union[np.ndarray, List] scatter: A scattered data: list of (pairs of x,y,z) (or numpy array) or list of series [[(x1,y1,z1)...]] :param int iteration: Iteration number :param str xaxis: optional x-axis title From b9ee824877e9cc91b02aa9c5224bcd48a5a99260 Mon Sep 17 00:00:00 2001 From: danmalowany-allegro <56926581+danmalowany-allegro@users.noreply.github.com> Date: Mon, 6 Jan 2020 18:27:56 +0200 Subject: [PATCH 2/2] Changed List to list --- trains/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trains/logger.py b/trains/logger.py index 11bca46d..bbb3bf03 100644 --- a/trains/logger.py +++ b/trains/logger.py @@ -211,7 +211,7 @@ class Logger(object): :param str title: Title (AKA metric) :param str series: Series (AKA variant) - :param Union[np.ndarray, List] scatter: A scattered data: list of (pairs of x,y,z) (or numpy array) + :param Union[np.ndarray, list] scatter: A scattered data: list of (pairs of x,y,z) (or numpy array) or list of series [[(x1,y1,z1)...]] :param int iteration: Iteration number :param str xaxis: optional x-axis title