From c9f66659fa417c7a3f0a94d8bb1150ac9424c3dd Mon Sep 17 00:00:00 2001 From: David Berry Date: Mon, 14 Jan 2019 12:36:44 +0000 Subject: [PATCH] Atl: Only import Grf if needed Importing Grf pulls in matplotlib, which can cause conflicts, for instance between GTK2 and GTK3 symbols. --- starlink/Atl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/starlink/Atl.py b/starlink/Atl.py index dd4a833..f2cbb2e 100644 --- a/starlink/Atl.py +++ b/starlink/Atl.py @@ -1,5 +1,4 @@ import starlink.Ast as Ast -import starlink.Grf as Grf from distutils.version import LooseVersion try: @@ -303,6 +302,8 @@ def plotframeset(axes, gbox, bbox, frameset, options=""): >>> matplotlib.pyplot.show() """ + import starlink.Grf as Grf + axes.xaxis.set_visible(False) axes.yaxis.set_visible(False)