Add data to profile plot

Add data to profile plot#

[1]:
%%capture
%load_ext autoreload
%autoreload 2

from polartoolkit import fetch, profile
[2]:
fig, df_layers, df_data = profile.plot_profile(
    method="shapefile",
    shapefile=fetch.sample_shp("Roosevelt_Island"),
    num=1000,
    reverse=True,
    layers_version="bedmap2",
    data_dict="default",
    add_map=True,
)
fig.show()
gmtset [WARNING]: Representation of font type not recognized. Using default.
../_images/gallery_profile_with_data_2_1.png
[ ]: