Skip to content

Commit 76a87a2

Browse files
committed
Fix the offset. Add option to plot ratio to whatever PDF you want
1 parent b1a0115 commit 76a87a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfplotter/pdf_set_nuclear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def plot_A_dep_vs_A_xslices(
825825

826826
for m, (obs_m, ax_m) in enumerate(zip(observables, ax.flat)):
827827
ax_m: plt.Axes
828-
828+
ax_m.set_ylim(0,float(len(x))*offset+0.3)
829829
if colors == []:
830830
colors = cycle(plt.rcParams["axes.prop_cycle"].by_key()["color"])
831831

0 commit comments

Comments
 (0)