Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9db68b + 2f9407e commit 7b7ea0fCopy full SHA for 7b7ea0f
1 file changed
IPython/core/tests/test_pylabtools.py
@@ -8,14 +8,15 @@
8
from binascii import a2b_base64
9
from io import BytesIO
10
11
-import matplotlib
+import pytest
12
+
13
+matplotlib = pytest.importorskip("matplotlib")
14
matplotlib.use('Agg')
15
from matplotlib.figure import Figure
16
17
from matplotlib import pyplot as plt
18
from matplotlib_inline import backend_inline
19
import numpy as np
-import pytest
20
21
from IPython.core.getipython import get_ipython
22
from IPython.core.interactiveshell import InteractiveShell
0 commit comments