mirror of
https://github.com/clearml/clearml
synced 2025-06-15 11:00:33 +00:00
Fix matplotlib _reporter refactoring
This commit is contained in:
parent
c234837ce2
commit
646163a2cb
@ -384,7 +384,8 @@ class PatchedMatplotlib:
|
|||||||
_pylab_helpers.Gcf.set_active(stored_figure)
|
_pylab_helpers.Gcf.set_active(stored_figure)
|
||||||
|
|
||||||
# get the main task
|
# get the main task
|
||||||
reporter = PatchedMatplotlib._current_task.__reporter
|
# noinspection PyProtectedMember
|
||||||
|
reporter = PatchedMatplotlib._current_task._reporter
|
||||||
if reporter is not None:
|
if reporter is not None:
|
||||||
if mpl_fig.texts:
|
if mpl_fig.texts:
|
||||||
plot_title = mpl_fig.texts[0].get_text()
|
plot_title = mpl_fig.texts[0].get_text()
|
||||||
|
Loading…
Reference in New Issue
Block a user