From 251bc71f864bd037b59058097ce91718c2bb44e2 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 14 Aug 2019 20:33:19 +0300 Subject: [PATCH] Add canvas panel which will house MPL-related functionality --- graphs/gui/canvasPanel.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 graphs/gui/canvasPanel.py diff --git a/graphs/gui/canvasPanel.py b/graphs/gui/canvasPanel.py new file mode 100644 index 000000000..579a52073 --- /dev/null +++ b/graphs/gui/canvasPanel.py @@ -0,0 +1,29 @@ +# ============================================================================= +# Copyright (C) 2010 Diego Duclos +# +# This file is part of pyfa. +# +# pyfa is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# pyfa is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with pyfa. If not, see . +# ============================================================================= + + +# noinspection PyPackageRequirements +import wx + + +class GraphCanvasPanel(wx.Panel): + + def __init__(self, graphFrame, parent): + super().__init__(parent) + self.graphFrame = graphFrame