From 87d8fd0948775089e0288cd4e7f52c9e9afce12a Mon Sep 17 00:00:00 2001 From: Gavin Burnell Date: Mon, 23 Mar 2020 14:39:33 +0000 Subject: [PATCH] Remove code to force a backend on Macs --- Stoner/plot/core.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Stoner/plot/core.py b/Stoner/plot/core.py index 0c63a04df..602ff5f0e 100644 --- a/Stoner/plot/core.py +++ b/Stoner/plot/core.py @@ -37,11 +37,6 @@ from colorsys import hls_to_rgb from warnings import warn -if os.name == "posix" and platform.system() == "Darwin": - import matplotlib - - matplotlib.use("MacOSX") - try: # Check we've got 3D plotting from mpl_toolkits.mplot3d import Axes3D # pylint: disable=unused-import from mpl_toolkits.axes_grid1 import host_subplot, inset_locator # pylint: disable=unused-import