commit 6f5a4677d18b3cf3851e852d6ced3f190be26d59
parent 895bd019fb16d1a9d643006babc995de4cbf7872
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 10 Mar 2018 00:23:51 +0100
clean up imports in lib/plot.py
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/plot.py b/lib/plot.py
@@ -1,11 +1,7 @@
-from PyQt5.QtGui import *
-from electrum.i18n import _
-
-
import datetime
from collections import defaultdict
-from electrum.bitcoin import COIN
+from PyQt5.QtGui import *
import matplotlib
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
@@ -13,6 +9,9 @@ import matplotlib.dates as md
from matplotlib.patches import Ellipse
from matplotlib.offsetbox import AnchoredOffsetbox, TextArea, DrawingArea, HPacker
+from .i18n import _
+from .bitcoin import COIN
+
class NothingToPlotException(Exception):
def __str__(self):