Do not try to display a figure in CLI mode
This commit is contained in:
parent
0de01efbcb
commit
2d69c119a3
1 changed files with 5 additions and 4 deletions
9
main.py
9
main.py
|
@ -481,10 +481,11 @@ def show_full_render(
|
||||||
ax_.axis("off")
|
ax_.axis("off")
|
||||||
ax_.set_title(title_)
|
ax_.set_title(title_)
|
||||||
fig.canvas.draw()
|
fig.canvas.draw()
|
||||||
fig.show()
|
fig.savefig("results/fullrender.png")
|
||||||
display.clear_output(wait=True)
|
#fig.show()
|
||||||
display.display(fig)
|
#display.clear_output(wait=True)
|
||||||
return fig
|
#display.display(fig)
|
||||||
|
#return fig
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in a new issue