<jupyter_start><jupyter_text>Plotting in 3D<jupyter_code>import numpy as np

from poliastro.constants import J2000
from poliastro.examples import *
from poliastro.plotting import *
import plotly.io as pio
pio.renderers.default = "notebook_connected"
churi.plot(interactive=True, use_3d=True)
frame = OrbitPlotter3D()

frame.plot(churi)
frame.plot_body_orbit(Earth, J2000)
frame = OrbitPlotter3D()

frame.plot(molniya)
frame.plot(iss)
eros = Orbit.from_sbdb("eros")

frame = OrbitPlotter3D()

frame.plot_body_orbit(Earth, J2000)
frame.plot(eros, label="eros")
from poliastro.ephem import Ephem
from poliastro.util import time_range
date_launch = time.Time("2011-11-26 15:02", scale="utc").tdb
date_arrival = time.Time("2012-08-06 05:17", scale="utc").tdb

earth = Ephem.from_body(
    Earth, time_range(date_launch, end=date_arrival, periods=50)
)
frame = OrbitPlotter3D()
frame.set_attractor(Sun)

frame.plot_body_orbit(Earth, J2000, label=Earth)
frame.plot_ephem(earth, label=Earth)
frame = OrbitPlotter3D()

frame.plot(eros, label="eros")
frame.plot_trajectory(earth.sample(), label=Earth)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12667261373773417, 'fraction_numerical': 0.043710972346119537, 'mean_word_length': 7.43609022556391, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '181734', 'license': 'MIT', 'n_tokens_mistral': 482, 'n_tokens_neox': 427, 'n_words': 77, 'path': 'docs/source/examples/Plotting in 3D.ipynb', 'repo_name': 'NanuSai/poliastro', 'size': '1121'}