ich möchte gerne ein Fenster auf Basisi der Klasse wxPlotWindow erstellen:
Code: Alles auswählen
from wxPython import *
class MyPlotWindow(wxPlotWindow):
def __init__(self, parent):
wxPlotCanvas.__init__(self, parent = parent, id=-1)
pass
Muss ich da noch ein anderes Modul importieren ??Traceback (most recent call last):
File "D:\Mauch\python\PICO_wxPython_entwicklung\gui.py", line 356, in ?
class MyPlotWindow(wxPlotWindow):
NameError: name 'wxPlotWindow' is not defined
Bin für jeden Hinweis dankbar
Gruß beton