mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
Improve 2D scatter example, show 3 different plot styles
This commit is contained in:
parent
575f391ba7
commit
efb72d8fc3
@ -68,6 +68,9 @@ def report_plots(logger, iteration=0):
|
|||||||
yaxis="title y",
|
yaxis="title y",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
scatter2d = np.hstack(
|
||||||
|
(np.atleast_2d(np.arange(0, 10)).T, np.random.randint(10, size=(10, 1)))
|
||||||
|
)
|
||||||
# report 2d scatter plot with markers
|
# report 2d scatter plot with markers
|
||||||
logger.report_scatter2d(
|
logger.report_scatter2d(
|
||||||
"example_scatter",
|
"example_scatter",
|
||||||
@ -79,6 +82,9 @@ def report_plots(logger, iteration=0):
|
|||||||
mode='markers'
|
mode='markers'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
scatter2d = np.hstack(
|
||||||
|
(np.atleast_2d(np.arange(0, 10)).T, np.random.randint(10, size=(10, 1)))
|
||||||
|
)
|
||||||
# report 2d scatter plot with markers
|
# report 2d scatter plot with markers
|
||||||
logger.report_scatter2d(
|
logger.report_scatter2d(
|
||||||
"example_scatter",
|
"example_scatter",
|
||||||
|
Loading…
Reference in New Issue
Block a user