Skip to content
Snippets Groups Projects
Commit f754ae90 authored by Klaus Rabbertz's avatar Klaus Rabbertz
Browse files

plot script fix

parent 90e1b982
No related branches found
No related tags found
No related merge requests found
......@@ -156,8 +156,8 @@ def plotting(x_axis, xmin, xmax, xs_all, rel_scale_unc, abs_scale_unc, dxsr_cn,
# ax1.get_xaxis().set_minor_formatter(NullFormatter())
# ax1.set_xscale('log', nonposx='clip')
# ax1.set_yscale('log', nonposy='clip')
ax1.set_xscale('log', nonposx='clip') # Will become nonpositive= in matplotlib 3.3.x
ax1.set_yscale('log', nonposy='clip') # Will become nonpositive= in matplotlib 3.3.x
ax1.set_xscale('log', nonpositive='clip') # Will become nonpositive= in matplotlib 3.3.x
ax1.set_yscale('log', nonpositive='clip') # Will become nonpositive= in matplotlib 3.3.x
# Set label on x axis on coupled axis from lower plot
# ax1.set_xlabel(r'%s' %xlabel, horizontalalignment='right', x=1.0, verticalalignment='top', y=1.0)
ax1.set_ylabel(r'%s' % ylabel, horizontalalignment='right', x=1.0,
......@@ -445,6 +445,7 @@ def main():
# Creating x-axis
bin_bounds = np.array(fnlo.GetObsBinsBounds(0))
# bin_bounds = np.array(fnlo.GetDim1BinBounds(0)) Mods needed for 2D tables ...
if verb:
print('[fastnnlo_scaleunc]: bin_bounds.T: \n', bin_bounds.T, '\n')
print('[fastnnlo_scaleunc]: bin_bounds.flatten()',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment