Fix missing plt.show in example

This commit is contained in:
allegroai 2020-11-17 23:10:40 +02:00
parent 0e0b03157f
commit f35e927951

View File

@ -22,6 +22,7 @@ plt.show()
area = (40 * np.random.rand(N))**2 area = (40 * np.random.rand(N))**2
plt.scatter(x, y, s=area, c=colors, alpha=0.5) plt.scatter(x, y, s=area, c=colors, alpha=0.5)
task.logger.report_matplotlib_figure(title="My Plot Title", series="My Plot Series", iteration=10, figure=plt) task.logger.report_matplotlib_figure(title="My Plot Title", series="My Plot Series", iteration=10, figure=plt)
plt.show()
# Create another plot - with a name # Create another plot - with a name
x = np.linspace(0, 10, 30) x = np.linspace(0, 10, 30)