Skip to content

Commit

Permalink
Fix get_names
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Oct 17, 2023
1 parent dba5646 commit b01780e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/examples/test_softsusy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@
" sp.run(li)\n",
" dl = rs.run(li,True,True)\n",
" for p in [1000022,1000023,1000025,1000035]:\n",
" hepi.slha_plot(li,[\"EXTPAR\",2],[\"MASS\",p],axes=axs[0],logy=True,xaxis=\"$M_2$ [GeV]\",yaxis=\"$M$\",label=\"$\"+hepi.get_name(p)+\"$\",tight=False)\n",
" hepi.slha_plot(li,[\"EXTPAR\",2],[\"MASS\",p],axes=axs[0],logy=True,xaxis=\"$M_2$ [GeV]\",yaxis=\"$M$\",label=\"$\"+hepi.particles.get_name(p)+\"$\",tight=False)\n",
" for nm1 in [1]:\n",
" for nm2 in [1,2,3,4]:\n",
" hepi.slha_plot(li,[\"EXTPAR\",2],[\"NMIX\",(nm1,nm2)],fmt=\"-\",interpolate=False,xaxis=\"$M_2$ [GeV]\",yaxis=\"Mixing\",logy=False,axes=axs[1],label=\"$\"+\"N_{\"+ str(nm1)+ str(nm2)+\"}$\",tight=False)\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/test_spheno.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
" sp.run(li)\n",
" dl = rs.run(li,True,True)\n",
" for p in [1000022,1000023,1000025,1000035]:\n",
" hepi.slha_plot(li,[\"EXTPAR\",2],[\"MASS\",p],axes=axs[0],logy=True,xaxis=\"$M_2$ [GeV]\",yaxis=\"$M$\",label=\"$\"+hepi.util.get_name(p)+\"$\",tight=False)\n",
" hepi.slha_plot(li,[\"EXTPAR\",2],[\"MASS\",p],axes=axs[0],logy=True,xaxis=\"$M_2$ [GeV]\",yaxis=\"$M$\",label=\"$\"+hepi.particles.get_name(p)+\"$\",tight=False)\n",
" for nm1 in [1]:\n",
" for nm2 in [1,2,3,4]:\n",
" hepi.slha_plot(li,[\"EXTPAR\",2],[\"NMIX\",(nm1,nm2)],fmt=\"-\",interpolate=False,xaxis=\"$M_2$ [GeV]\",yaxis=\"Mixing\",logy=False,axes=axs[1],label=\"$\"+\"N_{\"+ str(nm1)+ str(nm2)+\"}$\",tight=False)\n",
Expand Down

0 comments on commit b01780e

Please sign in to comment.