[Paraview] pvpython and matplotlib
Adriano Gagliardi
agagliardi at ara.co.uk
Thu Dec 8 09:53:32 EST 2011
Dear All,
I am having issues getting matplotlib to work with a in-house compiled
version of pvpython. Although it imports fine, if I try to plot anything
using pyplot I exit with a segmentation fault. Likewise, when I exit
pvpython, I get a segmentation fault. However, when using matplotlib from
the standard release of Python, it all works fine. Other libraries like
mysql and numpy are working fine too. This is what I'm running:
import matplotlib.pyplot as mp
#import pdb; pdb.set_trace()
mp.plot([1,2,3])
mp.show()
Any suggestions what could be wrong or how to go about solving it? I've
noticed the -v/-vv flags don't work with pvpython, or -h for that matter.
I'm at least finding the point at which I get the segmentation fault, but I
can't make head nor tail of it:
(Pdb) s
> /usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()
-> def zero(): return Value(0)
(Pdb) s
--Return--
>
/usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()-><Bin
Op o...1ce469a8> <--- it gives a segmentation fault before this line
-> def zero(): return Value(0)
All suggestions greatly appreciated.
Thanks,
Adriano
===================================
Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford
Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk
**********************************************************************
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
**********************************************************************
More information about the ParaView
mailing list