From 105b048493cda09a927f246c2bfd13a063eaa831 Mon Sep 17 00:00:00 2001 From: hlburns Date: Mon, 4 Feb 2019 12:30:08 +0000 Subject: [PATCH] :beetle: bug fix for quirky local python backends matplotlib backends default to qt5 need normal Agg to work with system --- Python/generateMaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/generateMaps.py b/Python/generateMaps.py index 1a7b8b8..62a54ca 100755 --- a/Python/generateMaps.py +++ b/Python/generateMaps.py @@ -1,6 +1,5 @@ #!/usr/bin/env python2 # -*- coding: utf-8 -*- -import matplotlib.pyplot as plt # MUST BE AFTER mpl.use(Agg)!! """ Script name: generateMaps.py Author: JO'N, CEMAC (University of Leeds) @@ -34,6 +33,7 @@ import argparse import gmplot mpl.use('Agg') +import matplotlib.pyplot as plt # MUST BE AFTER mpl.use(Agg)!! def Read_Two_Column_File(file_name):