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

Skip to content

Commit 0ef95a5

Browse files
author
Steve Chaplin
committed
'SC'
svn path=/trunk/matplotlib/; revision=1861
1 parent 1351ec1 commit 0ef95a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/embedding_in_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self, parent=None, width=5, height=4, dpi=100):
5151
FigureCanvas.updateGeometry(self)
5252

5353
def sizeHint(self):
54-
w, h = self.fig.get_width_height()
54+
w, h = self.get_width_height()
5555
return QSize(w, h)
5656

5757
def minimumSizeHint(self):

0 commit comments

Comments
 (0)