I'm new to wxpython, so I apologize in advance if this has a simple solution. The GUI I'm working on has the following basic structure:
def function(time) -> initialized from frame and generates data needed in panel
class panel -> displays data and images generated in function
class frame -> wraps around panel and contains toolbar buttons that advance the time variable and rerun function
The problem I'm running into is that while the toolbar buttons are updating the function output, the panel is not updating with the new data. How do I update variables in the panel with new data generated by toolbar buttons in the frame? I'll post my code if anyone needs it, but it's kind of long.