matplotlib and chainconsumer: `ValueError: posx and posy should be finite values`
If using matplotlib 2.1.0, then ChainConsumer may crash when trying to save the corner plots. This is a known issue see here and here.
Workarounds:
If you don't care about your matplotlib version
pip install matplotlib==2.0.2
If you do, then you'll have to do save=False
in the plot_corner
call which will return the figure then save it yourself.
I'm not sure there is a peyote
fix for this (other than insisting on the version of matplotlib?), but I wanted to flag it to save others the headache.