Python Forum
Embedding Matplotlib in graphical user interfaces - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Embedding Matplotlib in graphical user interfaces (/thread-26954.html)



Embedding Matplotlib in graphical user interfaces - bobthebuilder - May-19-2020

Hi, I have a question regarding how to make a button open up a new window which will display a graph(matplotlib).
I have made the button and the new window open when you click the button but am unsure how to make the new window contain the graph? I have searched but maybe my keywords have been wrong as I haven't found anything helpful.


RE: Open a new window - Yoriz - May-19-2020

Guessing your using tkinter but who knows you don't say Huh
matplotlib > Embedding in Tk
Embedding Matplotlib in graphical user interfaces


RE: Embedding Matplotlib in graphical user interfaces - bobthebuilder - May-19-2020

(May-19-2020, 09:28 PM)Yoriz Wrote: Guessing your using tkinter but who knows you don't say Huh
matplotlib > Embedding in Tk
Embedding Matplotlib in graphical user interfaces
Yes, Tkinter. Sorry. Thanks, I'll try this.

(May-19-2020, 09:42 PM)bobthebuilder Wrote:
(May-19-2020, 09:28 PM)Yoriz Wrote: Guessing your using tkinter but who knows you don't say Huh
matplotlib > Embedding in Tk
Embedding Matplotlib in graphical user interfaces
Yes, Tkinter. Sorry. Thanks, I'll try this.
Can I pm you?