Commit 76aa1120 authored by Maxime Rey's avatar Maxime Rey
Browse files

Improvement (small): in phase diag, no more title but name of the folder inside the plot.

parent 9600bfbe
......@@ -239,7 +239,7 @@ def plot_phase_diag(genpath, folders, timesteps, var_str='H', cgm_gas=False, no_
plt.xlabel('Density n$_{{H}}$ [atom.cm$^{{-3}}$]')
plt.ylabel('Temperature [K]')
plt.title(folders[index])
plt.text(0.95, 0.95, ' '.join(folders[index].split('_')[1:])[:-1], horizontalalignment='right',verticalalignment='top', transform=ax.transAxes, size=20)
ax.set_xlim(np.log10(xlims))
ax.set_ylim(np.log10(ylims))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment