corner.py
corner.py copied to clipboard
log version of the histogram
Is it possible to have the color map of the histogram in log-scale?
This is not supported and I'm not sure of the use case, but please feel free to hack on it if you're interested!
Use case:
fig, ax = plt.subplots(2, 2, figsize=(10, 10))
toys = stats.multivariate_normal(mean=[0, 0], cov=[[100, 240], [240, 3600]]).rvs(1000000)
corner(toys, bins=50, quantiles=None, fig=fig, levels=1 - stats.norm(0, 1).sf([1, 2, 3, 4]) * 2)
plt.plot()