From 1f3a910673dea46888c7a78cba0fcac13a0aef2e Mon Sep 17 00:00:00 2001 From: "Sebastian M. Ernst" Date: Sat, 2 Mar 2024 17:57:45 +0100 Subject: [PATCH] fix plots --- .../examples/natural-and-artificial-perturbations.myst.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/examples/natural-and-artificial-perturbations.myst.md b/docs/source/examples/natural-and-artificial-perturbations.myst.md index 1d1f5bb3d..d87ffb21c 100644 --- a/docs/source/examples/natural-and-artificial-perturbations.myst.md +++ b/docs/source/examples/natural-and-artificial-perturbations.myst.md @@ -229,9 +229,9 @@ ephem = initial.to_ephem( ```{code-cell} ipython3 frame = OrbitPlotter(backend=Plotly3D()) - frame.set_attractor(Earth) frame.plot_ephem(ephem, label="orbit influenced by Moon") +frame.show() ``` ## Applying thrust @@ -282,9 +282,9 @@ ephem2 = orb0.to_ephem( ```{code-cell} ipython3 frame = OrbitPlotter(backend=Plotly3D()) - frame.set_attractor(Earth) frame.plot_ephem(ephem2, label="orbit with artificial thrust") +frame.show() ``` ## Combining multiple perturbations