# Displaying multiple arrays into one plot using trame and jupyter notebook

**URL:** https://discourse.vtk.org/t/displaying-multiple-arrays-into-one-plot-using-trame-and-jupyter-notebook/15472
**Category:** Development
**Tags:** trame, python
**Created:** [April 2, 2025, 6:32pm UTC](https://discourse.vtk.org/t/displaying-multiple-arrays-into-one-plot-using-trame-and-jupyter-notebook/15472 "2025-04-02T18:32:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zetwal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zetwal/32/5551_2.png) [@zetwal](https://discourse.vtk.org/u/zetwal)
#### Post date: [April 2, 2025, 6:32pm UTC](https://discourse.vtk.org/t/displaying-multiple-arrays-into-one-plot-using-trame-and-jupyter-notebook/15472/1 "2025-04-02T18:32:09Z")

</div>

Hello

I’m trying to display several datasets into one plot/window using jupyter notebook and trame but it’s instead displaying 3 separate windows. This is the code:

```auto
plot_1 = pv.PolyData(plot_1_points)
plot_1.plot(point_size=1, color='black', opacity=0.05)

plot_2 = pv.PolyData(plot_2_points)
plot_2.plot(point_size=10, color='blue', opacity=0.8)

plot_3 = pv.PolyData(plot_3_points)
plot_3.plot(point_size=5, color='red', opacity=0.8)

plotter.add_mesh(plot_1)
plotter.add_mesh(plot_2)
plotter.add_mesh(plot_3)

pv.set_jupyter_backend('server')
plotter.show()

```

How can all the data just appear in one plot?

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/christos_tsolakis/32/2076_2.png) [@Christos\_Tsolakis](https://discourse.vtk.org/u/Christos_Tsolakis)
#### Post date: [April 3, 2025, 12:27am UTC](https://discourse.vtk.org/t/displaying-multiple-arrays-into-one-plot-using-trame-and-jupyter-notebook/15472/2 "2025-04-03T00:27:39Z")

</div>

This is pyvysta code 🙂 You can try the pyvista discussion board [pyvista/pyvista · Discussions · GitHub](https://github.com/pyvista/pyvista/discussions)

---

<div class="post-metadata">

### Author: ![zetwal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zetwal/32/5551_2.png) [@zetwal](https://discourse.vtk.org/u/zetwal)
#### Post date: [April 3, 2025, 8:24pm UTC](https://discourse.vtk.org/t/displaying-multiple-arrays-into-one-plot-using-trame-and-jupyter-notebook/15472/3 "2025-04-03T20:24:41Z")

</div>

I’m calling plot for each! 😳

removing the plot solved it
