[Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Aurélien Marsan
Hi, Upgrading my version of matplotlib, I encountered a really weird problem. Before, with the 0.99.1.1 version of matplotlib, I could calculate (in the calculator), e_interne*(1.4-1)/286.95 without any problem. After upgrading, the result of this calculation is zero everywhere... Is there any

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Aurélien Marsan
I give more precisions : it seems that it comes from the . and the , in the numbers... Le 15 septembre 2010 14:24, Aurélien Marsan aur.mar...@gmail.com a écrit : Hi, Upgrading my version of matplotlib, I encountered a really weird problem. Before, with the 0.99.1.1 version of matplotlib, I

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Aurélien Marsan
... Ok I think this is rather a dependance with the version of vtk. Doing this in a programmable filter in paraview from paraview import vtk i = self.GetInput() o = self.GetOutput() b = i.GetBlock(1) c = vtk.vtkArrayCalculator() c.SetInput(b) c.SetFunction('1.4')

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Dave Partyka
Hi Aurelien, What version of ParaView are you using? Also, did you build ParaView or are you using binaries from www.paraview.org? 2010/9/15 Aurélien Marsan aur.mar...@gmail.com ... Ok I think this is rather a dependance with the version of vtk. Doing this in a programmable filter in

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Aurélien Marsan
Hello Dave, I build Paraview 3.8.0 (and soon the 3.8.1-RC1) Do you confirm that it comes from the version of vtk, and the compatibility of the vtkArrayCalculator with '.' and ',' for floats ? Le 15 septembre 2010 15:21, Dave Partyka dave.part...@kitware.com a écrit : Hi Aurelien, What

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Aurélien Marsan
... I don't understand anything at all now... From a same MultiBlockDataSet, doing this in Paraview through a programmable filter, and in pvpython, I don't get the same result ... ! from paraview import vtk i = self.GetInput() b = i.GetBlock(1) c = vtk.vtkArrayCalculator() c.SetInput(b)

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Adriano Gagliardi
: [Paraview] ... something really weird dependance with matplotlib version ? ... I don't understand anything at all now... From a same MultiBlockDataSet, doing this in Paraview through a programmable filter, and in pvpython, I don't get the same result ... ! from paraview import vtk i

Re: [Paraview] ... something really weird.... dependance with matplotlib version ?

2010-09-15 Thread Aurélien Marsan
:* 15 September 2010 15:36 *To:* Dave Partyka *Cc:* Paraview *Subject:* Re: [Paraview] ... something really weird dependance with matplotlib version ? ... I don't understand anything at all now... From a same MultiBlockDataSet, doing this in Paraview through a programmable filter