summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-12-16 19:02:56 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-12-16 19:02:56 -0200
commitadf27d50f2c22db30203096380ce0f821a9f98f5 (patch)
treed7a67896dd198d81c121d40b3d005321cefc4cf7
parent3c1ae61cd0bc547b20a6f8c3d0e7aba4b20cae1b (diff)
downloadtuna-adf27d50f2c22db30203096380ce0f821a9f98f5.tar.gz
oscilloscope_frame: Remove the hide/draw/show mysterious sequence
Now, with later versions of python-matplotlib, a .draw() call is enough, go figure... Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-xtuna/oscilloscope.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tuna/oscilloscope.py b/tuna/oscilloscope.py
index ead6103..6c1519e 100755
--- a/tuna/oscilloscope.py
+++ b/tuna/oscilloscope.py
@@ -142,11 +142,7 @@ class oscilloscope_frame(gtk.Frame):
self.on_screen_samples[0].set_data(self.ind, self.samples)
def refresh(self):
- # Why we need to hide it before redrawing it is a mistery
- # to me, but it works, so, keep this sequence.
- self.canvas.hide()
self.canvas.draw()
- self.canvas.show()
return
def add_table_row(table, row, label_text, label_value = "0"):