Skip to content

Commit

Permalink
Fix figure titles
Browse files Browse the repository at this point in the history
  • Loading branch information
tcmoore3 committed Oct 10, 2023
1 parent 7d2fe5f commit 133e718
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions hoomd_validation/patchy_particle_pressure.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,11 +707,13 @@ def patchy_particle_pressure_analyze(job):
plot_rotated=True,
)

fig.suptitle(f"$\\rho={job.statepoint.density}$, "
f"$N={job.statepoint.num_particles}$, "
f"T={job.statepoint.temperature}, "
f"$\\chi={job.statepoint.chi}$, "
f"replicate={job.statepoint.replicate_idx}")
fig.suptitle(f"$\\rho={job.sp.density}$, "
f"$N={job.sp.num_particles}$, "
f"T={job.sp.temperature}, "
f"$\\chi={job.sp.chi}$, "
f"replicate={job.statepoint.replicate_idx}, "
"$\\varepsilon_{\mathrm{rep}}/\\varepsilon_{\mathrm{att}}$"
f"$={job.sp.long_range_interaction_scale_factor}$")
fig.savefig(job.fn('nvt_npt_plots.svg'),
bbox_inches='tight',
transparent=False)
Expand Down

0 comments on commit 133e718

Please sign in to comment.