From ff3f1a36db9a788d290583abab7d3219ecceec61 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Sun, 12 Dec 2021 10:59:39 -0500 Subject: [PATCH] Use frame="a" in colorbars_multiple.py (#1650) --- examples/gallery/embellishments/colorbars_multiple.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/gallery/embellishments/colorbars_multiple.py b/examples/gallery/embellishments/colorbars_multiple.py index 2aec9d11c31..1781816209a 100644 --- a/examples/gallery/embellishments/colorbars_multiple.py +++ b/examples/gallery/embellishments/colorbars_multiple.py @@ -28,7 +28,7 @@ pygmt.makecpt(cmap="geo", series=[-8000, 8000]) # "R?" means Winkel Tripel projection with map width automatically # determined from the subplot width. - fig.grdimage(grid=grid_globe, projection="R?", region="g", frame=True) + fig.grdimage(grid=grid_globe, projection="R?", region="g", frame="a") fig.colorbar(frame=["a4000f2000", "x+lElevation", "y+lm"]) # Activate the second panel so that the colormap created by the makecpt # method is a panel-level CPT @@ -36,9 +36,7 @@ pygmt.makecpt(cmap="globe", series=[-6000, 3000]) # "M?" means Mercator projection with map width also automatically # determined from the subplot width. - fig.grdimage( - grid=grid_subset, projection="M?", region=subset_region, frame=True - ) + fig.grdimage(grid=grid_subset, projection="M?", region=subset_region, frame="a") fig.colorbar(frame=["a2000f1000", "x+lElevation", "y+lm"]) fig.show()