# SVGD: plot particles

**URL:** <https://discourse.pymc.io/t/svgd-plot-particles/9770>\
**Category:** Questions\
**Created:** [June 29, 2022, 8:05pm UTC](https://discourse.pymc.io/t/svgd-plot-particles/9770 "2022-06-29T20:05:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mauro\_Mendizabal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/mauro_mendizabal/32/5320_2.png) [@Mauro\_Mendizabal](https://discourse.pymc.io/u/Mauro_Mendizabal)\
**Post date:** [June 29, 2022, 8:05pm UTC](https://discourse.pymc.io/t/svgd-plot-particles/9770/1 "2022-06-29T20:05:41Z")

</div>

Hi everyone!  
I am new using PyMC, I have a question regarding svgd. I want to plot the particles coming from the svgd, how can I do this ?

I am using  
pm.fit(200, method=“svgd” , etc)

but I do not how to plot the particles.

Also, I was trying with m.SVGD(200) but as before I do not know how to plot the particles.

I want to plot the update of the particles at each iteration and at the end I want joint all the plots in a GIF

Thanks a lot for your help and time.  
Mauro
