Skip to content

Commit c2c2b4d

Browse files
committed
Merge pull request matplotlib#3969 from blink1073/add-resize-event-webagg
BUG : Connect the Resize Event for WebAgg
2 parents 50a7e18 + c9a02ab commit c2c2b4d

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
@@ -252,6 +252,7 @@ def handle_resize(self, event):
252252
# identical or within a pixel or so).
253253
self._png_is_old = True
254254
self.manager.resize(w, h)
255+
self.resize_event()
255256

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

0 commit comments

Comments
 (0)