4. Plots

Basis functions used to visualise biologging data of a central-place foraging seabird.

diagnostic.get_datetime_locator_formatter(df)

Get the date locator and formatter for timeserie plots.

diagnostic.plot_night(df, plot_params)

Plot an empty timeserie with the night represented by grey rectangles.

diagnostic.plot_ts(ax, df, plot_params, var, ...)

Plot timeserie of the dataframe column designated by the value of var.

diagnostic.plot_ts_wtrips(ax, df, ...[, ...])

Plot timeserie of the dataframe column designated by the value of var colored by trips.

diagnostic.plot_ts_twinx(ax, df, ...[, ...])

Plot timeserie of dataframe column designated by the value of var and var_f with two distinct axes.

diagnostic.plot_cumulative_distribution(df, ...)

Plot the cumulative distribution of dataframe column designated by the value of var.

diagnostic.plot_box(df, plot_params, var, ...)

Plot the boxplot of dataframe column designated by the value of var.

diagnostic.plot_violin(df, plot_params, var, ...)

Plot the violin plot of dataframe column designated by the value of var.

diagnostic.plot_hist(df, plot_params, var, ...)

Plot the histogram of dataframe column designated by the value of var.

diagnostic.plot_angle_polar(ax, df, ...)

Plot the polar histogram of dataframe column designated by the value of var.

diagnostic.plot_colony(ax, params)

Plot the colony as an empty rectangle with thick red borders.

diagnostic.plot_map_wtrips(ax, df, params, ...)

Plot map of the trajectory colored by trips.

diagnostic.plot_map_colorgrad(ax, df, ...)

Plot map of the trajectory with a color gradient along the column designated by the value of var.

diagnostic.plot_folium_traj(df, params, traj_id)

Plot folium map of the trajectory.

diagnostic.plot_folium_traj_disc_colorgrad(...)

Add to the folium map the trajectory with a discrete color gradient along the column designated by the value of var.

diagnostic.plot_folium_traj_cont_colorgrad(...)

Add to the folium map the trajectory with a continuous color gradient along the column designated by the value of var.

diagnostic.plot_folium_map_multiple_colorgrad(df, ...)

Plot folium map of the trajectory with a color gradient along the column designated by the value of var.

diagnostic.plot_infos(infos, plot_params)

Plot text infos.