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

set xlim based on range for 1D histogram in the diagonal

Open changhoonhahn opened this issue 4 years ago • 1 comments

I noticed xlim was not set for the diagonal 1D histogram so I added

ax.set_xlim(np.sort(range[i]))

to core.py

changhoonhahn avatar Jul 14 '21 08:07 changhoonhahn

Thanks for this, but the xlims are already set a little lower (look for the call to _set_xlim) so can you share a demo that doesn't work with the existing logic first?

dfm avatar Jul 14 '21 10:07 dfm