From e7435c30bf684a444e7e764bdfd39ee8feb579e2 Mon Sep 17 00:00:00 2001 From: Ivan Stankovic Date: Wed, 17 Mar 2010 21:11:37 +0100 Subject: [PATCH] remove unnecessary imports --- oscopy/context.py | 3 --- oscopy/figure.py | 1 - oscopy/graphs/graph.py | 1 - oscopy_gui/dialogs.py | 1 - 4 files changed, 6 deletions(-) diff --git a/oscopy/context.py b/oscopy/context.py index 278fd6d..a613a16 100644 --- a/oscopy/context.py +++ b/oscopy/context.py @@ -47,9 +47,6 @@ opts: options fn : filename """ -import sys -import re -import matplotlib.pyplot as plt from readers.detect_reader import DetectReader from readers.reader import ReadError from writers.detect_writer import DetectWriter diff --git a/oscopy/figure.py b/oscopy/figure.py index 216f64d..522b91b 100644 --- a/oscopy/figure.py +++ b/oscopy/figure.py @@ -42,7 +42,6 @@ Figure -- Handle a list of graphs Handle keystrokes during plot """ -import matplotlib.pyplot as plt from matplotlib.pyplot import Figure as MplFig from graphs import Graph, LinGraph diff --git a/oscopy/graphs/graph.py b/oscopy/graphs/graph.py index 4157006..b53c34e 100644 --- a/oscopy/graphs/graph.py +++ b/oscopy/graphs/graph.py @@ -48,7 +48,6 @@ Class Graph -- Handle the representation of a list of signals Set plot axis range """ -import matplotlib.pyplot as plt from matplotlib.pyplot import Axes as mplAxes from matplotlib import rc from cursor import Cursor diff --git a/oscopy_gui/dialogs.py b/oscopy_gui/dialogs.py index 1cd3aee..8df1f8e 100644 --- a/oscopy_gui/dialogs.py +++ b/oscopy_gui/dialogs.py @@ -5,7 +5,6 @@ import vte import pty import sys import readline -import gobject import math from oscopy import factors_to_names, abbrevs_to_factors -- 2.11.4.GIT