From 12f4d4fb38a93a73974214c99fb96e8c8781dbaa Mon Sep 17 00:00:00 2001 From: Qingyu Qu <52615090+ErikQQY@users.noreply.github.com> Date: Sat, 26 Aug 2023 16:55:27 +0800 Subject: [PATCH] Fix plot for EnsembleSummary --- docs/src/features/ensemble.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/features/ensemble.md b/docs/src/features/ensemble.md index 29f6ced6e..aa385a975 100644 --- a/docs/src/features/ensemble.md +++ b/docs/src/features/ensemble.md @@ -589,14 +589,14 @@ the differential equation, this can get messy, so let's only plot the ```@example ensemble4 using Plots; -plot(summ; idxs = 3); +plot(summ; trajectories = 3); ``` We can change to errorbars instead of ribbons and plot two different indices: ```@example ensemble4 -plot(summ; idxs = (3, 5), error_style = :bars) +plot(summ; trajectories = (3, 5), error_style = :bars) ``` Or we can simply plot the mean of every component over time: