Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Aug 18, 2022 09:51
Hi, would somebody like to have a look at my MWE for an animation with matplotib in a tkinter GUI by any chance? It is in post 3 and my last post contains some other explanations. discourse.matplotlib.org/t/…. Many thanks
Aug 17, 2022 20:43
@Aran-Fey I was so free to post my MWE with the GUI here discourse.matplotlib.org/t/…
Aug 17, 2022 20:36
@Aran-Fey: I think I have a working GUI that shows a bit the problem. Should I paste the code here, please?
Aug 17, 2022 19:39
@Aran-Fey: Yes, you are right, I am working on it to show it. Thank you!
Aug 17, 2022 18:36
I should be more precise, could I also do it without matplotlibs animation, please? And what does cause the overlapping text?
Aug 17, 2022 18:35
Dear all, I am looking into updating a plot with plt.imshow for tkinter. I got it almost to work, but the colorbar has overlapping text in the animation. On stackoverflow I can only find examples with matplotlib animation. For example: https://stackoverflow.com/questions/39472017/how-to-animate-the-colorbar-in-matplotlib
Is this really the only way, please?
Aug 7, 2022 00:43
Would you rather target with .get() the variable/textvariable of a widget or the whole widget and ask with get() for the value, please?
Aug 6, 2022 23:43
I figured it out and I can communicate between my classes. If Bryan Oklaey reads here , thank you so much! Your examples on tkinter are pretty good!!!!
Aug 6, 2022 22:15
@Kevin , sorry. I did not see it. Nice to meet you. So one problem was that I forget to use pack on the parent for ttk.Entries and then nothing was visible.
Aug 6, 2022 22:09
Could I ask something else, please?
I found this example https://stackoverflow.com/questions/33646605/how-to-access-variables-from-different-classes-in-tkinter
I think I have a similar problem and I don't understand the basic concept apparently.
What is in the example the controller, please? The class SampleApp()?
I am trying to realise a MVC design pattern for the first time. My View is a tkinter GUI. It is composed of 3 different classes for the frames (one window only). My top class is called View(). All my methods to access the widgets are in the View class. But for example, now I am in
Aug 6, 2022 22:04
Hi Kevin, sorry. I did not see it. Nice to meet you. So one problem was that I forget to use pack on the parent for ttk.Entries and then nothing was visible
Aug 6, 2022 17:37
@AndrasDeak--СлаваУкраїні Okay. I won't ask about my recent post. Currently searching the net, but unsuccessful.
Aug 6, 2022 17:19
Is here maybe somebody present who know tkinter and like to answer questions about it please?
Aug 6, 2022 17:18
Juhu, I unlocked the chat.