I want to create a subplot using matplotlib with pysimplegui where each time i select some signals-checkbox(list of values) i should get a plot corresponding to it which will dynamically increase or decrease in size based on my selection so when i select a checkbox the respective plot will be plotted and eqau…
Tag: pysimplegui
Upload multiple files pandas
I need help, I can’t figure out what I need to do. The task is as follows, I need to be able to select multiple xlsx files and convert them to csv. In my code I got the ability to do this with only one file. I hope for your help and advice. Thanks Answer Without option no_window=True, it will
Drawing using matplotlib in pysimplegui
How can i clean up previous drawing before drawing again with matplotlib in PySimpleGui? I wanted to draw a bar chart which i could be able to draw but not able to delete using the following code: Are there any functions that i can call to clean up any previous drawings? Can someone please helpme with it, i w…
Nested Combo Menus in PySimpleGui
I’m looking for a drop down menu system to help control the flow for a variety of locations. The structure would look like this I looked into Menus but that will force to the top of the window regardless of placement in the layout. I tried to throw the menu code (basically what you see above) as a combo…
How can I programmatically trigger an event with PySimpleGUI?
For example, the “Show” event in the example below is tied to clicking the “Show” button. Is there a way to programmatically fire off the “Show” event without actually clicking the button? The goal is to automate clicking a series of buttons and filling text boxes by just c…
TypeError when adding multiple widgets to layout using SimpleGui
(answered] I’m learning SimpleGui and when adding multiple widgets to the layout the system gives me a TypeError. Here is my code for the layout I’m using version 3.10.0 of python if that helps Answer You’re missing a comma between your two lists: The error you get (TypeError: list indices m…
Any one help me code finish this by PySimpleGUI
I have to make a program to teach children multipliers, this is the core code of the assignment. After I have to rewrite it to a next generation language so I designed to write it in python. Like this And after that I have to make a UI for it so this image is what I designed to do like
I was using pysimplegui and i want to position button on the right side
if i put element_justification as center i get button on the center, if i put element_justification on the right then text is also on the right even thoguht i putted justification in the text separately, i need text in center and button align to the right of the window. Answer There’re something about t…
Why is the button “Add” only working once?
I want to be able to use the button “Add” multiple times but at the moment it only works once. I only have pysimplegui imported. Heres part of the code because looks like i have a limit of characters or something. Hope I don’t have to wait 3 days again… Answer Your add_window closed af…
PySimpleGui – How can I update GUI with a question but not check for the answer during the first iteration
I am making a quiz program in PySimpleGui. I want it so that the first question appears automatically without pressing a button. Is there a way to do this without adding the question in the layout? With the code below the question only appears after the submit button is pressed. I would prefer it not to be in…