Skip to content

Commit 3b1825c

Browse files
authored
pygmt.grdvolume: Fix a failing doctest (#3122)
1 parent 29f1c2f commit 3b1825c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pygmt/src/grdvolume.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ def grdvolume(
9393
... grid=grid, contour=[200, 400, 50], output_type="pandas"
9494
... )
9595
>>> print(output_dataframe)
96-
0 1 2 3
97-
0 200 2.323600e+12 8.523815e+14 366.836554
98-
1 250 2.275864e+12 7.371655e+14 323.905736
99-
2 300 2.166707e+12 6.258570e+14 288.851699
100-
3 350 2.019284e+12 5.207732e+14 257.899955
101-
4 400 1.870441e+12 4.236191e+14 226.480847
96+
0 1 2 3
97+
0 200.0 2.323600e+12 8.523815e+14 366.836554
98+
1 250.0 2.275864e+12 7.371655e+14 323.905736
99+
2 300.0 2.166707e+12 6.258570e+14 288.851699
100+
3 350.0 2.019284e+12 5.207732e+14 257.899955
101+
4 400.0 1.870441e+12 4.236191e+14 226.480847
102102
"""
103103
output_type = validate_output_table_type(output_type, outfile=outfile)
104104

0 commit comments

Comments
 (0)