The recent "nasty import behavior" thread motivated me to post an issue I've been having with matplotlib and chaco. (I've posted to the Chaco list previously, without much luck.)
If I import matplotlib and chaco at the same time, I get a segmentation fault in the _path.so plugin. Below is a simple script that segfaults on my computer.
I should note that this is installation dependent; someone on the Chaco list only had the issue with certain versions of Python. Just for reference, I'm on OS X 10.6, Python 2.6.1, and matplotlib/chaco trunk.
P.S. In reality, there's no reason to import matplotlib when using Chaco, but I have some helper modules with some tangled imports (i.e. need to be refactored).
import matplotlib.pyplot as plt
import enthought.traits.api as traits
import enthought.traits.ui.api as ui
import enthought.chaco.api as chaco
from enthought.enable.component_editor import ComponentEditor
plot = traits.Instance(chaco.Plot)
traits_view = ui.View(
width=500, height=500, resizable=True)
plotdata = chaco.ArrayPlotData(x=[1,2,3], y=[1,2,3])
self.plot = chaco.Plot(plotdata)
viewer = LinePlot()