Add map to profile plot#
[1]:
%%capture
%load_ext autoreload
%autoreload 2
from polartoolkit import profile
[2]:
# 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,
layers_legend_scale=1,
)
fig.show()
gmtset [WARNING]: Representation of font type not recognized. Using default.
[ ]: