From 464050a5ed1f213da0fc54b18092e66eecec3e10 Mon Sep 17 00:00:00 2001
From: pswain <peter.swain@ed.ac.uk>
Date: Tue, 21 May 2024 12:40:01 +0100
Subject: [PATCH] docs: bud_to_bud_plot, plot_kymograph

---
 examples/plot_kymograph.py | 1 +
 src/wela/plotting.py       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/plot_kymograph.py b/examples/plot_kymograph.py
index e32cb7d..07ab1b6 100644
--- a/examples/plot_kymograph.py
+++ b/examples/plot_kymograph.py
@@ -28,6 +28,7 @@ for dataname in datasets:
     )
     # sorted kymograph
     t, data = dl.get_time_series("median_GFP", group=groups[0])
+    # sort by mean median_GFP over first five hours
     sort_order = sort_by_maximum(data[:, t < 5], np.nanmean)
     kymograph(
         dl.df,
diff --git a/src/wela/plotting.py b/src/wela/plotting.py
index 8595309..d7a0700 100644
--- a/src/wela/plotting.py
+++ b/src/wela/plotting.py
@@ -610,7 +610,7 @@ def bud_to_bud_plot(
     colour="b",
     group=None,
     nbins=None,
-    no_future_buddings=2,
+    no_future_buddings=1,
     return_signal=False,
     df=None,
     title=None,
-- 
GitLab