<jupyter_start><jupyter_text>Lines 3d https://matplotlib.org/examples/mplot3d/lines3d_demo.html![Lines3d](https://matplotlib.org/2.0.2/_images/lines3d_demo1.png)<jupyter_code>import numpy as np
import k3d

plot = k3d.plot()

theta = np.linspace(-4 * np.pi, 4 * np.pi, 100, dtype=np.float32)
z = np.linspace(-2, 2, 100, dtype=np.float32)
r = z**2 + 1
x = r * np.sin(theta)
y = r * np.cos(theta)

line = k3d.line(np.vstack([x,y,z]).T, width=0.2, scaling = [1,1,2])

plot += line
plot.display()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.19385796545105566, 'fraction_numerical': 0.06333973128598848, 'mean_word_length': 4.865168539325842, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '270911', 'license': 'MIT', 'n_tokens_mistral': 252, 'n_tokens_neox': 239, 'n_words': 39, 'path': 'docs/source/showcase/lines3d.ipynb', 'repo_name': 'pevers/K3D-jupyter', 'size': '521'}