Skip to content

Commit ff3f1a3

Browse files
Meghan JonesJosh Sixsmith
Meghan Jones
authored and
Josh Sixsmith
committed
Use frame="a" in colorbars_multiple.py (GenericMappingTools#1650)
1 parent 0e0e558 commit ff3f1a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/gallery/embellishments/colorbars_multiple.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,15 @@
2828
pygmt.makecpt(cmap="geo", series=[-8000, 8000])
2929
# "R?" means Winkel Tripel projection with map width automatically
3030
# determined from the subplot width.
31-
fig.grdimage(grid=grid_globe, projection="R?", region="g", frame=True)
31+
fig.grdimage(grid=grid_globe, projection="R?", region="g", frame="a")
3232
fig.colorbar(frame=["a4000f2000", "x+lElevation", "y+lm"])
3333
# Activate the second panel so that the colormap created by the makecpt
3434
# method is a panel-level CPT
3535
with fig.set_panel(panel=1):
3636
pygmt.makecpt(cmap="globe", series=[-6000, 3000])
3737
# "M?" means Mercator projection with map width also automatically
3838
# determined from the subplot width.
39-
fig.grdimage(
40-
grid=grid_subset, projection="M?", region=subset_region, frame=True
41-
)
39+
fig.grdimage(grid=grid_subset, projection="M?", region=subset_region, frame="a")
4240
fig.colorbar(frame=["a2000f1000", "x+lElevation", "y+lm"])
4341

4442
fig.show()

0 commit comments

Comments
 (0)