Skip to content

Commit e247866

Browse files
committed
Reorder importorskip
1 parent 6876482 commit e247866

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datashader/tests/test_mpl_ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from __future__ import annotations
22
import pytest
33

4+
pytest.importorskip("matplotlib")
5+
46
import matplotlib
57
matplotlib.use("Agg")
68

@@ -11,8 +13,6 @@
1113
import datashader as ds
1214
from datashader.mpl_ext import dsshow
1315

14-
pytest.importorskip("matplotlib")
15-
1616

1717
df = pd.DataFrame(
1818
{

0 commit comments

Comments
 (0)