commit b8328da99ffa4e0638c22ce9f86ce924a202b819
parent 4e564651a5277baf626fc67bd301900559856b9d
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 16 Dec 2016 12:20:36 +0100
fix matplotlib plugin
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/plot/qt.py b/plugins/plot/qt.py
@@ -8,6 +8,8 @@ from electrum.util import format_satoshis
from electrum.bitcoin import COIN
try:
+ import matplotlib
+ matplotlib.use('Qt4Agg')
import matplotlib.pyplot as plt
import matplotlib.dates as md
from matplotlib.patches import Ellipse