We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64ef1d7 commit e2c4db4Copy full SHA for e2c4db4
1 file changed
pygmt/src/colorbar.py
@@ -31,8 +31,8 @@ def _build_frame(
31
"""
32
Create the list of Alias objects for the -B option.
33
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'))
+ >>> list(_build_frame(annot=1, tick=0.5, label="Distance", unit="Depth"))
+ ['xa1f0.5+lDistance', 'y+lDepth']
36
37
if frame is not None and frame is not False:
38
return frame
0 commit comments