summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspiceSimulation/pythonPlotting.py')
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index c7a82851..c3203fe0 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -9,15 +9,13 @@ from matplotlib.figure import Figure
import tkMessageBox
-from configuration.Appconfig import Appconfig
-
class plotWindow(QtGui.QMainWindow):
- def __init__(self):
+ def __init__(self,fpath,projectName):
QtGui.QMainWindow.__init__(self)
- #Creating App config object
- #self.obj_appconfig = Appconfig()
- self.fpath = "/home/fahim/Installed-Software/FreeEDA/Examples/RC"
- self.projName = "RC"
+ self.fpath = fpath+".cir.out"
+ self.projName = projectName
+ print "File Path",self.fpath
+ print "Project Name",self.projName
self.createMainFrame()
self.combo = []
self.combo1 = []