8000 Connect the resize event · matplotlib/matplotlib@c9a02ab · GitHub
[go: up one dir, main page]

Skip to content

Commit c9a02ab

Browse files
committed
Connect the resize event
1 parent ab549ac commit c9a02ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_webagg_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ def handle_resize(self, event):
251251
# identical or within a pixel or so).
252252
self._png_is_old = True
253253
self.manager.resize(w, h)
254+
self.resize_event()
254255

255256
def handle_send_image_mode(self, event):
256257
# The client requests notification of what the current image mode is.

0 commit comments

Comments
 (0)
0