Rename Task.reporter to Task._reporter (deprecated)

This commit is contained in:
allegroai
2020-09-01 17:47:40 +03:00
parent 99a8724bec
commit 4c77cd1479
5 changed files with 27 additions and 27 deletions

View File

@@ -384,7 +384,7 @@ class PatchedMatplotlib:
_pylab_helpers.Gcf.set_active(stored_figure)
# get the main task
reporter = PatchedMatplotlib._current_task.reporter
reporter = PatchedMatplotlib._current_task._reporter
if reporter is not None:
if mpl_fig.texts:
plot_title = mpl_fig.texts[0].get_text()