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
@WHug0 Thanks. Perhaps return not only the Figure, but a tuple, where the first element is the Figure, and the second element is a list of the Axes that were created by mpf.plot()
@hmhjapan A number of things have changed since this issue was opened almost 10 months ago. The main thing to know is that returnfig=True now does return a tuple the first element of which is the Figure, and the second element of which is a List of Axes objects.
There is a recent example of someone successfully using tkinter here. Please take a look and let us know if you have any more questions.
Activity
DanielGoldfarb commentedon Mar 17, 2020
See issue #46 ... That will do it. (Read through the comments there, and see also some example code given there as well).
If you would like to contribute the enhancement, please do. Otherwise I expect to get around to it in about two weeks.
Duplicate of #46
haybb commentedon Mar 17, 2020
Ok, I will do this, thanks
DanielGoldfarb commentedon Mar 17, 2020
@WHug0 Thanks. Perhaps return not only the Figure, but a
tuple, where the first element is theFigure, and the second element is alistof theAxesthat were created bympf.plot()hmhjapan commentedon Jan 2, 2021
@WHug0 :
Could you publish the code?
I have the same problem.
thank you!
DanielGoldfarb commentedon Jan 2, 2021
@hmhjapan A number of things have changed since this issue was opened almost 10 months ago. The main thing to know is that
returnfig=Truenow does return a tuple the first element of which is the Figure, and the second element of which is a List of Axes objects.There is a recent example of someone successfully using tkinter here. Please take a look and let us know if you have any more questions.