Skip to content

Commit 7b8ac64

Browse files
committed
docs: explain error bars behavior in ag3.plot_frequencies_time_series (#826)
1 parent d175b24 commit 7b8ac64

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

malariagen_data/anoph/frq_base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,11 @@ def plot_frequencies_heatmap(
339339
A plotly figure containing line graphs. The resulting figure will
340340
have one panel per cohort, grouped into columns by taxon, and
341341
grouped into rows by area. Markers and lines show frequencies of
342-
variants.
342+
variants. Error bars represent 95% confidence intervals for the
343+
frequency estimates, calculated using the Wilson score method via
344+
`statsmodels.stats.proportion.proportion_confint()`. The error bars
345+
are asymmetric, with upper and lower bounds that may differ from
346+
the point estimate by different amounts.
343347
""",
344348
)
345349
def plot_frequencies_time_series(

0 commit comments

Comments
 (0)