Skip to content

Commit 26d2759

Browse files
authored
Fix the DataArray repr in the load_tile_map doctest for xarray v2024.02 (#3062)
1 parent 2bc6d24 commit 26d2759

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pygmt/datasets/tile_map.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ def load_tile_map(
111111
... )
112112
>>> raster.sizes
113113
Frozen({'band': 3, 'y': 256, 'x': 512})
114-
>>> raster.coords
114+
>>> raster.coords # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
115115
Coordinates:
116-
* band (band) uint8 0 1 2
117-
* y (y) float64 -7.081e-10 -7.858e+04 ... -1.996e+07 ...
118-
* x (x) float64 -2.004e+07 -1.996e+07 ... 1.996e+07 2.004e+07
116+
* band (band) uint8 ... 0 1 2
117+
* y (y) float64 ... -7.081e-10 -7.858e+04 ... -1.996e+07 ...
118+
* x (x) float64 ... -2.004e+07 -1.996e+07 ... 1.996e+07 2.004e+07
119119
"""
120120
if not _HAS_CONTEXTILY:
121121
raise ImportError(

0 commit comments

Comments
 (0)