Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with another triangle.py (LinearNDInterpolator) #28

Closed
soylentdeen opened this issue Sep 15, 2014 · 4 comments
Closed

Conflict with another triangle.py (LinearNDInterpolator) #28

soylentdeen opened this issue Sep 15, 2014 · 4 comments

Comments

@soylentdeen
Copy link

Hi- I noticed that triangle-plot conflicts with another triangle.py which seems to be necessary for the LinearNDInterpolator routine (scipy.interpolate.LinearNDInterpolator())

http://dzhelil.info/triangle/

I'm not exactly sure what to do in this case... I need the LinearNDInterpolator to perform the calculations, but the corner plots would be really nice as well... Do you know of an easy way to alias the package name? (Sorry, my ignorance of the guts of python is showing!)

@soylentdeen
Copy link
Author

Before investigating this further, let me see if I can be more explicit about how to reproduce the problem...

@dfm
Copy link
Owner

dfm commented Sep 15, 2014

Interesting... thanks for sharing. Let me know what you find.

@soylentdeen
Copy link
Author

Ok, turns out that the errors I was having were due to pickling a scipy.interpolate.LinearNDInterpolator object in scipy 0.9 and unpickling it with the latest version. Very difficult to figure out, but the good news it's not triangle.py. I don't understand how python choses the correct triangle.py, but I guess as long as it works, I won't complain

@cranmer
Copy link

cranmer commented Mar 9, 2015

I'm having this problem too. I renamed triangle.py to triangle_plot.py and adjusted imports

@kbarbary kbarbary mentioned this issue Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants