timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
120 stars 61 forks source link

Triangle plot is called corner now #26

Closed DanielAndreasen closed 6 years ago

DanielAndreasen commented 8 years ago

I get the following warning when using the code:

from isochrones.dartmouth import Dartmouth_Isochrones

WARNING:root:Deprecation Warning: 'triangle' has been renamed to 'corner'. This shim should continue to work but you should use 'import corner' in new code. https://github.com/dfm/corner.py

I think it should just be editing line 27 here, but you might import it other places. And of course set corner as a new dependency.

timothydmorton commented 8 years ago

Yup, on my to-do list, thanks!

DanielAndreasen commented 8 years ago

If you are busy, and it isn't much more than that, I can make a pull request for you.

timothydmorton commented 8 years ago

Sure, go ahead--thanks! Shouldn't be more than switching triangle to corner in the dependencies, imports, and in the code.