Add map to profile plot#
[1]:
%%capture
%load_ext autoreload
%autoreload 2
from antarctic_plots import profile
[3]:
# define profile endpoints in EPSG:3031 meters
a = (-590e3, -1070e3)
b = (-100e3, -545e3)
fig, _, _ = profile.plot_profile(
method="points",
start=a,
stop=b,
num=100,
add_map=True,
)
fig.show()
gmtset [WARNING]: Representation of font type not recognized. Using default.
[ ]: