Skip to content

Commit e2c4db4

Browse files
committed
Fix doctest
1 parent 64ef1d7 commit e2c4db4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pygmt/src/colorbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def _build_frame(
3131
"""
3232
Create the list of Alias objects for the -B option.
3333
34-
>>> _build_frame(annot=1, tick=0.5, xlabel="Distance", ylabel="Depth")
35-
Frame(xaxis=Axis(annot=1, tick=0.5, label='Distance'), yaxis=Axis(label='Depth'))
34+
>>> list(_build_frame(annot=1, tick=0.5, label="Distance", unit="Depth"))
35+
['xa1f0.5+lDistance', 'y+lDepth']
3636
"""
3737
if frame is not None and frame is not False:
3838
return frame

0 commit comments

Comments
 (0)