Unanswered
Hi. When Using The Logger'S
In the meantime, it is also possible to create a figure that will contain +2 histo and then report it to the logger using report_plotly.
You can have a look there :
https://plotly.com/python/histograms/#overlaid-histogram
https://plotly.com/python/histograms/#stacked-histograms
` log = task.get_logger()
x0 = np.random.randn(1500)
x1 = np.random.randn(1500) - 1
fig = go.Figure()
fig.add_trace(go.Histogram(y=x0))
fig.add_trace(go.Histogram(y=x1))
fig.update_layout(barmode='overlay') # 'stack'
fig.update_traces(opacity=0.75)
log.report_plotly(
title='Overlaid Histo (T)',
series='plotly (T)',
iteration=0,
figure=fig
) `
155 Views
0
Answers
2 years ago
one year ago