Skip to content

Commit 9482157

Browse files
committed
Set minimum size of MatDataPlot's Canvas
That's a cleaner way to resolve #35 and #54.
1 parent cff49ed commit 9482157

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rqt_plot/data_plot/mat_data_plot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def __init__(self, parent=None):
103103
self.axes.grid(True, color='gray')
104104
self.figure.tight_layout()
105105
self.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
106+
self.setMinimumSize(1,1)
106107
self.updateGeometry()
107108

108109
def resizeEvent(self, event):

0 commit comments

Comments
 (0)