Skip to content

Commit

Permalink
🪲 bug fix for quirky local python backends
Browse files Browse the repository at this point in the history
matplotlib backends default to qt5 need normal Agg to work with system
  • Loading branch information
cemachelen committed Feb 4, 2019
1 parent 18ac9c7 commit 105b048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/generateMaps.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 105b048

Please sign in to comment.