4.17. cpforager.diagnostic.plot_folium_map_multiple_colorgrad
- cpforager.diagnostic.plot_folium_map_multiple_colorgrad(df, params, traj_id, cpals_disc, cpals_cont, q_th)
Plot folium map of the trajectory with a color gradient along the column designated by the value of var.
- Parameters:
df (pandas.DataFrame) – dataframe with
longitude
,latitude
columns and the column designated by the value of var.params (dict) – parameters dictionary.
traj_id (str) – trajectory id.
cpals_disc (array([float, float, float])) – dictionary of variables and associated discrete color palettes.
cpals_cont (array([float, float, float])) – dictionary of variables and associated continuous color palettes.
q_th (float) – quantile max threshold for continuous coloring.
- Returns:
the folium map.
- Return type:
folium.Map