We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769843a commit 21c76deCopy full SHA for 21c76de
pygame_matplotlib/gui_window.py
@@ -40,5 +40,8 @@ def set_dimensions(self, *args, **kwargs):
40
print("setting dimensions")
41
# Update the size of the figure with the new bounding rectangle
42
self.figuresurf.set_bounding_rect(self.get_container().get_rect())
43
+ self.update_window_image()
44
+
45
+ def update_window_image(self):
46
# Update the image of the container
47
self.get_container().set_image(self.figuresurf)
0 commit comments