From 0b13099f44a4d800c7e0c88483633266ca4f6d96 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Thu, 11 Aug 2022 21:18:58 +0200 Subject: [PATCH] Replace 'method' by 'function' in 'colorbars_multiple.py' --- examples/gallery/embellishments/colorbars_multiple.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gallery/embellishments/colorbars_multiple.py b/examples/gallery/embellishments/colorbars_multiple.py index 1781816209a..412d9a88863 100644 --- a/examples/gallery/embellishments/colorbars_multiple.py +++ b/examples/gallery/embellishments/colorbars_multiple.py @@ -23,7 +23,7 @@ nrows=1, ncols=2, figsize=("15c", "8c"), autolabel=True, margins="0.5c" ): # Activate the first panel so that the colormap created by the makecpt - # method is a panel-level CPT + # function is a panel-level CPT with fig.set_panel(panel=0): pygmt.makecpt(cmap="geo", series=[-8000, 8000]) # "R?" means Winkel Tripel projection with map width automatically @@ -31,7 +31,7 @@ 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 + # function is a panel-level CPT with fig.set_panel(panel=1): pygmt.makecpt(cmap="globe", series=[-6000, 3000]) # "M?" means Mercator projection with map width also automatically