Open Benkendorfer opened 3 months ago
That seems rather quirky. hep.style.ATLAS
is just a dictionary of standard mpl
rc options, so this seems almost like a pure mpl
issue. When you have a moment, could you loop through the settings in hep.style.ATLAS
and apply them selectively to the demo with https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.rc_context.html
I have encountered a strange crash when I try to use axes with the ATLAS style. The following MWE
produces an IndexError
I made the following observations:
hep.style.use(hep.style.ATLAS)
y_vals
has both positive and negative valuesheight_ratios=[2, 1]
instead ofheight_ratios=[3, 1]
figsize=(6, 6)
instead offigsize=(6, 5)
scatter()
instead ofplot()
I guess somehow there is a sizing problem that messes with auto-tick placement in the ATLAS style. Perhaps a secret logarithmic transformation is being applied? It seems a bit deeper than I can dig into at this moment.