mplhep icon indicating copy to clipboard operation
mplhep copied to clipboard

mplhep LHCb2 style conflicts with subplots_adjust(hspace=0)

Open CrfzdPQM6 opened this issue 2 years ago • 1 comments

I want two arrange two axes with no space between, like the last figure here. I have this:

import mplhep
import matplotlib.pyplot as plt
#mplhep.style.use("LHCb2")

fig,axs = plt.subplots(2,2)
plt.subplots_adjust(hspace=0)
plt.show()

where you see I get what I want (vertically) unless I uncomment the mplhep.style... line, which seems to block the behaviour I want. Does anyone know how I can use the LHCb style and achieve this axis-compression?

CrfzdPQM6 avatar Sep 26 '22 13:09 CrfzdPQM6

Hey, sorry for the long silence, did you figure out how to do this? Or what exactly in the LHCb2 style causes this issue?

jonas-eschle avatar Nov 29 '22 13:11 jonas-eschle