Skip to content

Commit

Permalink
use new method update_plot in PlotHF
Browse files Browse the repository at this point in the history
Signed-off-by: chipmuenk <[email protected]>
  • Loading branch information
chipmuenk committed Oct 25, 2015
1 parent b7a13b8 commit 497251b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pyfda/plot_widgets/plot_tab_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@
class PlotTabWidgets(QtGui.QWidget):
def __init__(self):
QtGui.QWidget.__init__(self)
# css = """
#QTabBar{
#font-weight:normal;
#}
#
#"""

# self.setStyleSheet(css)
self.pltHf = plot_hf.PlotHf()
self.pltPhi = plot_phi.PlotPhi()
self.pltPZ = plot_pz.PlotPZ()
Expand Down Expand Up @@ -49,7 +42,6 @@ def initUI(self):
#
self.setLayout(layVMain)


#------------------------------------------------------------------------------
def updateData(self):
""" Update and redraw all subplots with new filter DATA"""
Expand All @@ -59,11 +51,11 @@ def updateData(self):
self.pltTauG.draw()
self.pltImpz.draw()
self.plt3D.draw()

#------------------------------------------------------------------------------
def updateSpecs(self):
""" Update and redraw all subplots with new filter SPECS"""
self.pltHf.draw()
self.pltHf.update_plot() # doesn't work flawlessly yet?
self.pltPhi.draw()
self.pltTauG.draw()
self.pltImpz.draw()
Expand Down

0 comments on commit 497251b

Please sign in to comment.