From 6f5a4677d18b3cf3851e852d6ced3f190be26d59 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 10 Mar 2018 00:23:51 +0100 Subject: [PATCH] clean up imports in lib/plot.py --- lib/plot.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/plot.py b/lib/plot.py index 5bd6add64..6d0d02250 100644 --- 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):