diff --git a/pmagpy/ipmag.py b/pmagpy/ipmag.py
index <HASH>..<HASH> 100755
--- a/pmagpy/ipmag.py
+++ b/pmagpy/ipmag.py
@@ -6,7 +6,6 @@ import validate_upload3 as val_up3
 import copy
 import numpy as np
 import random
-import matplotlib
 import matplotlib.pyplot as plt
 import os
 import sys
@@ -14,7 +13,6 @@ import time
 import re
 #from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
 #from matplotlib.backends.backend_wx import NavigationToolbar2Wx
-from matplotlib.figure import Figure
 from mapping import map_magic
remove full matplotlib import and from matplotlib.figure import Figure from ipmag.py

These imports don’t seem to be used anywhere in the code. Rather
matplotlib.pyplot as plt is used throughout.