How to set time to close automatically plot window??
Regards
I do not understand your question. Please provide more detail.
On matplotlib You can:
plt.show(block=False)
plt.pause(3)
plt.close()
and chart will be closed automatically after n seconds.
fig, axlist = mpf.plot(data,block=False,returnfig=True)
plt.pause(interval)
plt.close(fig)
Thanks for the idea. I think I will add a kwarg to pause and close. In the meantime, the above example code should work.
Most helpful comment
Thanks for the idea. I think I will add a kwarg to pause and close. In the meantime, the above example code should work.