File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 4
4
import numpy as np
5
5
import pytest
6
6
import xarray as xr
7
- from packaging .version import Version
8
- from pygmt import Figure , clib
7
+ from pygmt import Figure
9
8
from pygmt .datasets import load_earth_relief
10
9
from pygmt .exceptions import GMTInvalidInput
11
10
from pygmt .helpers .testing import check_figures_equal
12
11
13
- with clib .Session () as _lib :
14
- gmt_version = Version (_lib .info ["version" ])
15
-
16
12
17
13
@pytest .fixture (scope = "module" , name = "grid" )
18
14
def fixture_grid ():
Original file line number Diff line number Diff line change 2
2
Tests for legend.
3
3
"""
4
4
import pytest
5
- from packaging .version import Version
6
- from pygmt import Figure , clib
5
+ from pygmt import Figure
7
6
from pygmt .exceptions import GMTInvalidInput
8
7
from pygmt .helpers import GMTTempFile
9
8
10
- with clib .Session () as _lib :
11
- gmt_version = Version (_lib .info ["version" ])
12
-
13
9
14
10
@pytest .mark .mpl_image_compare
15
11
def test_legend_position ():
You can’t perform that action at this time.
0 commit comments