Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mplhep LHCb2 style conflicts with subplots_adjust(hspace=0) #401

Open
CrfzdPQM6 opened this issue Sep 26, 2022 · 1 comment
Open

mplhep LHCb2 style conflicts with subplots_adjust(hspace=0) #401

CrfzdPQM6 opened this issue Sep 26, 2022 · 1 comment
Assignees

Comments

@CrfzdPQM6
Copy link

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?

@jonas-eschle jonas-eschle self-assigned this Nov 29, 2022
@jonas-eschle
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants