You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use mpf.plot(data,...,savefig=buffer) to save the figure image into an io.BytesIO buffer, and then pass that buffer to TkInter. An example of this approach can be found here: Bug Report: mplfinance >= 0.12.5a0 crashes without an error when loading an plot image in tKinter #170 (comment) (Please note: although that comment discusses a bug, the example code is valid and the bug only occurs if you use matplotlib's "TkAgg" bakcend. But if you use any other matplotlib backend, it should work). See also this comment here.
I hope the above reference help you to find what you are looking for.
how can i show plot on tkinter.
The text was updated successfully, but these errors were encountered: