Skip to content

Commit

Permalink
Remove code to force a backend on Macs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Burnell authored and Gavin Burnell committed Mar 23, 2020
1 parent 25f0198 commit 87d8fd0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Stoner/plot/core.py
Expand Up @@ -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
Expand Down

0 comments on commit 87d8fd0

Please sign in to comment.