summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
authoranjalijaiswal082019-06-01 12:18:54 +0530
committernilshah982019-06-13 12:18:39 +0530
commit23c03bea24b2ad59b8abc1394c39985928373598 (patch)
tree28e582169f9e4c6e6e758606b9de535361852860 /src/ngspiceSimulation/pythonPlotting.py
parent06a301b442338236b133a5997b9b9528948ed400 (diff)
downloadeSim-23c03bea24b2ad59b8abc1394c39985928373598.tar.gz
eSim-23c03bea24b2ad59b8abc1394c39985928373598.tar.bz2
eSim-23c03bea24b2ad59b8abc1394c39985928373598.zip
Minor changes
Diffstat (limited to 'src/ngspiceSimulation/pythonPlotting.py')
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index 9f8f8e88..6cf99752 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -1,4 +1,5 @@
- # Used for decimal division eg 2/3=0.66 and not '0' 6/2=3.0 and 6//2=3
+from __future__ import division # Used for decimal division eg
+# 2/3=0.66 and not '0' 6/2=3.0 and 6//2=3
import os
from PyQt4 import QtGui, QtCore
from decimal import Decimal, getcontext
@@ -19,6 +20,7 @@ class plotWindow(QtGui.QMainWindow):
'''
def __init__(self, fpath, projectName):
+ """This create constructor for plotWindow class."""
QtGui.QMainWindow.__init__(self)
self.fpath = fpath
self.projectName = projectName