From 3451a53ec31dc5713d68c996d978b474150e362c Mon Sep 17 00:00:00 2001
From: Peter Swain <pswain@Home-iMac.local>
Date: Mon, 20 May 2024 20:45:03 +0100
Subject: [PATCH] change(plotting): more comments

---
 src/wela/plotting.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/wela/plotting.py b/src/wela/plotting.py
index f7fa0c2..39ce895 100644
--- a/src/wela/plotting.py
+++ b/src/wela/plotting.py
@@ -203,7 +203,7 @@ def plot_lineages(
     shade_colour="gold",
 ):
     """
-    Wrapper of plot_lineage to plot a range of idx values.
+    Wrap plot_lineage to plot a range of idx values.
 
     Parameters
     ----------
@@ -576,10 +576,10 @@ def plot_cuml_divisions_per_cell(t, buddings, nboots=30, col="b", label=None):
 
     Example
     -------
-    >>> import matplotlib.pylab as plt
     >>> from wela.plotting import plot_cuml_divisions_per_cell
+    >>> t, buddings = dl.get_time_series("buddings", group="BY4741")
     >>> plt.figure()
-    >>> plot_cuml_divisions_per_cell(t, b, label="Gal Glu")
+    >>> plot_cuml_divisions_per_cell(t, buddings, label="Gal Glu")
     >>> plt.legend()
     >>> plt.show(block=False)
     """
-- 
GitLab