Load matplotlib only when needed, this speeds up a little pyfa startup
This commit is contained in:
@@ -394,6 +394,9 @@ class MainFrame(wx.Frame):
|
||||
self.waitDialog.Destroy()
|
||||
|
||||
def openGraphFrame(self, event):
|
||||
if not gui.graphFrame.enabled:
|
||||
return
|
||||
|
||||
if not self.graphFrame:
|
||||
self.graphFrame = GraphFrame(self)
|
||||
self.graphFrame.Show()
|
||||
|
||||
Reference in New Issue
Block a user