Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 91ee83e + 1b82a96 commit d9b722fCopy full SHA for d9b722f
1 file changed
lib/matplotlib/backends/_backend_tk.py
@@ -446,7 +446,7 @@ def _get_toolmanager(self):
446
return toolmanager
447
448
def resize(self, width, height):
449
- self.canvas._tkcanvas.master.geometry("%dx%d" % (width, height))
+ self.canvas._tkcanvas.configure(width=width, height=height)
450
451
if self.toolbar is not None:
452
self.toolbar.configure(width=width)
0 commit comments