Skip to content

Use mplfinance with Tkinter #55

Closed
Closed

Description

@haybb

Hi, how can I embed my mplfinance graph in Tkinter ?

Activity

  1. DanielGoldfarb commented on Mar 17, 2020

    @DanielGoldfarb
    Collaborator

    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

  2. haybb commented on Mar 17, 2020

    @haybb
    ContributorAuthor

    Ok, I will do this, thanks

  3. DanielGoldfarb commented on Mar 17, 2020

    @DanielGoldfarb
    Collaborator

    @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()

  4. hmhjapan commented on Jan 2, 2021

    @hmhjapan

    @WHug0 :
    Could you publish the code?
    I have the same problem.
    thank you!

  5. DanielGoldfarb commented on Jan 2, 2021

    @DanielGoldfarb
    Collaborator

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions