diff --git a/src/wela/plotting.py b/src/wela/plotting.py index 778c928f06e169ed4e2674e6978718a0a62dbead..5040d7e2ea7e2db853f6dda857cdb1b93a622da3 100644 --- a/src/wela/plotting.py +++ b/src/wela/plotting.py @@ -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: