regvelo.plotting.plot_visits_dist

regvelo.plotting.plot_visits_dist(df, palette_rel, tick_range, figsize=None)[source]

Plot a boxplot of visit difference values per terminal state for a single TF.

Parameters:
  • df (pd.DataFrame) – Long-form DataFrame with columns ‘Value’ and ‘Group’.

  • palette_rel (list of str) – Per-group hex colours derived from significance testing.

  • tick_range (float) – Half-width of the x-axis range, centred at 0.5.

  • figsize (tuple of float, optional) – Figure size (width, height) in inches. If None (default), the height adapts to the number of terminal states shown (one box per state), clamped to a sensible range; pass a tuple to set it manually.

Return type:

None

Returns:

: None

The boxplot is drawn; no value is returned.