diff --git a/lib/matplotlib/backends/backend_webagg_core.py b/lib/matplotlib/backends/backend_webagg_core.py index ceb43ba32808..30805317c307 100644 --- a/lib/matplotlib/backends/backend_webagg_core.py +++ b/lib/matplotlib/backends/backend_webagg_core.py @@ -251,6 +251,7 @@ def handle_resize(self, event): # identical or within a pixel or so). self._png_is_old = True self.manager.resize(w, h) + self.resize_event() def handle_send_image_mode(self, event): # The client requests notification of what the current image mode is.