deepof.visuals.plot_gantt

deepof.visuals.plot_gantt(coordinates: deepof_project, experiment_id: str, soft_counts: deepof_table_dict | None = None, supervised_annotations: deepof_table_dict | None = None, additional_checkpoints: DataFrame | None = None, signal_overlay: Series | None = None, behaviors_to_plot: list | None = None, save: bool = False)

Return a scatter plot of the passed projection. Allows for temporal and quality filtering, animal aggregation, and changepoint detection size visualization.

Parameters:
  • coordinates (project) – deepOF project where the data is stored.

  • experiment_id (str) – Name of the experiment to display.

  • soft_counts (table_dict) – table dict with soft cluster assignments per animal experiment across time.

  • supervised_annotations (table_dict) – table dict with supervised annotations per video. new figure will be created.

  • additional_checkpoints (pd.DataFrame) – table with additional checkpoints to plot.

  • signal_overlay (pd.Series) – overlays a continuous signal with all selected behaviors. None by default.

  • behaviors_to_plot (list) – list of behaviors to plot. If None, all behaviors are plotted.

  • save (bool) – Saves a time-stamped vectorized version of the figure if True.