Increase graph size and add some padding

This commit is contained in:
DarkPhoenix
2019-05-20 10:32:40 +03:00
parent f808b73a5d
commit 359c60bafb

View File

@@ -124,7 +124,7 @@ class GraphFrame(wx.Frame):
self.graphSelection = wx.Choice(self, wx.ID_ANY, style=0)
self.mainSizer.Add(self.graphSelection, 0, wx.EXPAND)
self.figure = Figure(figsize=(4, 3))
self.figure = Figure(figsize=(5, 4), tight_layout={'pad': 1.08})
rgbtuple = wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE).Get()
clr = [c / 255. for c in rgbtuple]