Open
Description
Hi,
When using logger.report_matplotlib_figure
to plot a histogram with large number of bins, the UI plot is displaying the histogram with very thin bars, making the visualization not usable.
Example code:
for metric in evaluator.metrics:
plt.figure()
plt.hist(results[_metric].dropna(), bins=HISTOGRAM_BINS)
fig = plt.gcf()
task.logger.report_matplotlib_figure(title=metric, series=metric, figure=fig)
Using HISTOGRAM_BINS=60
shows the following plot:
While using HISTOGRAM_BINS=25
seems reasonable:
The issue is also relevant for comparison between 2 histograms, when comparing 2 histograms with 25 bins, the following is displayed:
Metadata
Metadata
Assignees
Labels
No labels