Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 433bf76

Browse files
committed
Merge pull request #3969 from blink1073/add-resize-event-webagg
BUG : Connect the Resize Event for WebAgg
1 parent 87d79a1 commit 433bf76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/backends/backend_webagg_core.py

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

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

0 commit comments

Comments
 (0)