<div dir="ltr">Dear Cory,<div><br></div><div>I am seriously impressed! I cannot wait to check it out and play around with it.</div><div><br></div><div>Now I have only two wishes left :). For those who are interested:</div>
<div> 1. I would like to be able to dynamically update (e.g. add timestep) Paraview without</div><div> blocking the user interface. Use-case for me is to allow immediate correlation between</div><div> simulations and physical tests (aerospace certification testing)</div>
<div> 2. More feature rich annotation of points and cells. Same reason as above. I would for example</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 4:29 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Auré Lien,<br>
<br>
Thanks for the feedback,<br>
<br>
The Python View could certainly consume output from a<br>
ProgrammableFilter. Did you have another way in mind to use matplotlib<br>
from within a programmable filter? I don't think anything would stop<br>
you from doing so, but to have any matplotlib plots show up in a<br>
ParaView window, you would need to have your matplotlib code in the<br>
Python View script.<br>
<br>
You can access the Python View from the Python shell, but it might be<br>
a little awkward. You would have to set the script in the Python View<br>
as a string, e.g.<br>
<br>
>>> view =paraview.simple.CreateView("PythonView")<br>
>>> view.Script = """<br>
... def setup_data(view):<br>
... print "setup_data"<br>
...<br>
... def render(view, figure):<br>
... print "render"<br>
... """<br>
<br>
You could imagine loading a matplotlib script this way, perhaps.<br>
<br>
Best,<br>
Cory<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Dec 17, 2013 at 10:08 AM, Aurélien Marsan <<a href="mailto:aur.marsan@gmail.com">aur.marsan@gmail.com</a>> wrote:<br>
> Wow ! So great ! A very popular python feature that was missing in Paraview.<br>
><br>
> Juste one question : will matplotlib also be directly accessible from a<br>
> ProgrammableFilter or from the python console ?<br>
><br>
> Many thanks,<br>
><br>
> A. Marsan<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>