corner.py icon indicating copy to clipboard operation
corner.py copied to clipboard

log version of the histogram

Open wiso opened this issue 6 years ago • 2 comments

Is it possible to have the color map of the histogram in log-scale?

wiso avatar Jul 06 '18 15:07 wiso

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!

dfm avatar Jul 15 '18 20:07 dfm

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()

example

wiso avatar Mar 31 '19 14:03 wiso