ENH: Let Qt handle most of the window sizing.

This commit is contained in:
Tony S Yu
2012-07-23 01:13:03 -04:00
parent 977d17134d
commit 92ca837471
4 changed files with 7 additions and 8 deletions
+1
View File
@@ -23,6 +23,7 @@ class PlotCanvas(FigureCanvasQTAgg):
FigureCanvasQTAgg.updateGeometry(self)
# Note: `setParent` must be called after `FigureCanvasQTAgg.__init__`.
self.setParent(parent)
self.setMinimumHeight(150)
class PlotPlugin(Plugin):