Skip to content

Commit

Permalink
Updated pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstolker committed Oct 7, 2024
1 parent b3fcce9 commit 93a22e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Repository = "https://github.com/tomasstolker/species"
Issues = "https://github.com/tomasstolker/species/issues"

[tool.setuptools]
packages = []
packages = ["species"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
Expand Down
12 changes: 6 additions & 6 deletions species/plot/plot_evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,16 @@ def plot_cooling(
ax[i].set_xlabel("Age (Myr)", fontsize=13)

if cooling_param == "luminosity":
ax[i].set_ylabel("$\log(L/L_\odot)$", fontsize=13)
ax[i].set_ylabel(r"$\log(L/L_\odot)$", fontsize=13)

elif cooling_param == "radius":
ax[i].set_ylabel("Radius ($R_\mathrm{J}$)", fontsize=13)
ax[i].set_ylabel(r"Radius ($R_\mathrm{J}$)", fontsize=13)

elif cooling_param == "teff":
ax[i].set_ylabel("$T_\mathrm{eff}$ (K)", fontsize=13)
ax[i].set_ylabel(r"$T_\mathrm{eff}$ (K)", fontsize=13)

elif cooling_param == "logg":
ax[i].set_ylabel("$\log\,g$", fontsize=13)
ax[i].set_ylabel(r"$\log\,g$", fontsize=13)

if xlim is not None:
ax[i].set_xlim(xlim[0], xlim[1])
Expand Down Expand Up @@ -471,9 +471,9 @@ def plot_isochrones(
ax[i].xaxis.set_minor_locator(AutoMinorLocator(5))

if i == n_planets - 1:
ax[i].set_xlabel("Mass ($M_\\mathrm{J}$)", fontsize=13)
ax[i].set_xlabel(r"Mass ($M_\mathrm{J}$)", fontsize=13)

ax[i].set_ylabel("$\\log(L/L_\\odot)$", fontsize=13)
ax[i].set_ylabel(r"$\log(L/L_\odot)$", fontsize=13)

ax[i].set_xscale(xscale)
ax[i].set_yscale(yscale)
Expand Down

0 comments on commit 93a22e9

Please sign in to comment.