# show a matlibplot created in python in the python viewer

**URL:** https://discourse.paraview.org/t/show-a-matlibplot-created-in-python-in-the-python-viewer/17157
**Category:** ParaView Support
**Created:** [September 5, 2025, 8:52am UTC](https://discourse.paraview.org/t/show-a-matlibplot-created-in-python-in-the-python-viewer/17157 "2025-09-05T08:52:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![otaolafr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/otaolafr/32/3595_2.png) [@otaolafr](https://discourse.paraview.org/u/otaolafr)
#### Post date: [September 5, 2025, 8:52am UTC](https://discourse.paraview.org/t/show-a-matlibplot-created-in-python-in-the-python-viewer/17157/1 "2025-09-05T08:52:20Z")

</div>

hello,

during my post processing, i created a plot using matlibplot in a python script in paraview that i runned from the python shell, so I have the plt object created, how can i displayed in paraview (ie., the plt.show() version in paraview).

thanks in advance

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 5, 2025, 8:53am UTC](https://discourse.paraview.org/t/show-a-matlibplot-created-in-python-in-the-python-viewer/17157/2 "2025-09-05T08:53:35Z")

</div>

You may want to use a python view to do that:

> **[5. Displaying data — ParaView Documentation 6.0.0 documentation](https://docs.paraview.org/en/latest/UsersGuide/displayingData.html#python-view)**

---

<div class="post-metadata">

### Author: ![otaolafr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/otaolafr/32/3595_2.png) [@otaolafr](https://discourse.paraview.org/u/otaolafr)
#### Post date: [September 5, 2025, 9:19am UTC](https://discourse.paraview.org/t/show-a-matlibplot-created-in-python-in-the-python-viewer/17157/3 "2025-09-05T09:19:18Z")

</div>

hello mathieu,

I knew about this, but I was asking for a simple show image thing, not working with data itself, simply to visualize what is being exported (as a png). I do not require for treat the data and other more complex things. I would take simply creating a new renderview and using a source to open the exported file but the image looks bad, quite pixelated and with the pngImageMagnitude which changes the colors.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 5, 2025, 9:58am UTC](https://discourse.paraview.org/t/show-a-matlibplot-created-in-python-in-the-python-viewer/17157/4 "2025-09-05T09:58:48Z")

</div>

> [@otaolafr](#):
>
> simple show image thing,

If you want to show an image with matplotlib within a paraview window, you have to use the python view.

If you want to show a png, save it to disk and reopen it in ParaView, uncheck map scalars and it should look as expected.
