Skip to content
Snippets Groups Projects
Commit 7d945946 authored by Peter Swain's avatar Peter Swain
Browse files

feature(bud_to_bud_plot): added verbose

parent 8752c9ed
No related branches found
No related tags found
No related merge requests found
......@@ -616,6 +616,7 @@ def bud_to_bud_plot(
title=None,
filter_func=None,
show_figure=True,
verbose=False,
):
"""
Plot the median and percentiles of a signal between consecutive buddings.
......@@ -655,6 +656,8 @@ def bud_to_bud_plot(
If False, only plot is called and no figure created so multiple
data sets can be shown on the same plot by calling bud_to_bud_plot
multiple times.
verbose: boolean
If True, print messages.
Example
-------
......@@ -683,6 +686,8 @@ def bud_to_bud_plot(
buddings,
no_future_buddings_index=no_future_buddings - 1,
)
if verbose:
print(f"bud_to_bud_plot: number of cells is {len(local_signals)}")
if local_times:
# find values for normalised time between 0 and no_future_buddings
if no_t_values is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment