Skip to content

Commit

Permalink
Merge 0745a66 into 9447a40
Browse files Browse the repository at this point in the history
  • Loading branch information
drvinceknight committed Aug 15, 2018
2 parents 9447a40 + 0745a66 commit 82407f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions axelrod/tests/unit/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
from numpy import mean
import tempfile

import matplotlib.pyplot
plt = matplotlib.pyplot
import matplotlib
matplotlib.use("agg")

import matplotlib.pyplot as plt


class TestPlot(unittest.TestCase):
Expand Down
3 changes: 3 additions & 0 deletions doctests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import unittest
import warnings

import matplotlib
matplotlib.use("agg")


# Note loader and ignore are required arguments for unittest even if unused.
def load_tests(loader, tests, ignore):
Expand Down

0 comments on commit 82407f4

Please sign in to comment.