Skip to content

Commit

Permalink
Merge pull request #237 from VirtualPlanetaryLaboratory/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
RoryBarnes authored Mar 13, 2023
2 parents 68d615d + 25b368e commit cf3c34b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
# a list of builtin themes.
#
if not on_rtd: # only import and set the theme if we're building docs locally
html_theme = 'sphinx_rtd_theme'
# html_theme = 'sphinx_rtd_theme'
html_theme_path = ['.themes', ]

# Theme options are theme-specific and customize the look and feel of a theme
Expand Down
23 changes: 11 additions & 12 deletions examples/MDwarfLuminosity/makeplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@
slumflare = []

for i in range(0, 5):
ftime.append(np.genfromtxt(flare[i], usecols=(0), unpack=True))
fage.append(np.genfromtxt(flare[i], usecols=(8), unpack=True))
flumbol.append(np.genfromtxt(flare[i], usecols=(1), unpack=True))
flumxuv.append(np.genfromtxt(flare[i], usecols=(6), unpack=True))
flumtot.append(np.genfromtxt(flare[i], usecols=(5), unpack=True))
flumflare.append(np.genfromtxt(flare[i], usecols=(7), unpack=True))
ftime.append(np.genfromtxt(path / flare[i], usecols=(0), unpack=True))
fage.append(np.genfromtxt(path / flare[i], usecols=(8), unpack=True))
flumbol.append(np.genfromtxt(path / flare[i], usecols=(1), unpack=True))
flumxuv.append(np.genfromtxt(path / flare[i], usecols=(6), unpack=True))
flumtot.append(np.genfromtxt(path / flare[i], usecols=(5), unpack=True))
flumflare.append(np.genfromtxt(path / flare[i], usecols=(7), unpack=True))

for i in range(0, 5):
stime.append(np.genfromtxt(stellar[i], usecols=(0), unpack=True))
sage.append(np.genfromtxt(stellar[i], usecols=(7), unpack=True))
slumbol.append(np.genfromtxt(stellar[i], usecols=(1), unpack=True))
slumxuv.append(np.genfromtxt(stellar[i], usecols=(6), unpack=True))
slumtot.append(np.genfromtxt(stellar[i], usecols=(5), unpack=True))
stime.append(np.genfromtxt(path / stellar[i], usecols=(0), unpack=True))
sage.append(np.genfromtxt(path / stellar[i], usecols=(7), unpack=True))
slumbol.append(np.genfromtxt(path / stellar[i], usecols=(1), unpack=True))
slumxuv.append(np.genfromtxt(path / stellar[i], usecols=(6), unpack=True))
slumtot.append(np.genfromtxt(path / stellar[i], usecols=(5), unpack=True))


# Plot
Expand Down Expand Up @@ -250,7 +250,6 @@

# Format all axes
for ax in axes.flatten():

# Format x axis
ax.set_xlim(time02s[1], time02s.max())
ax.set_xscale("log")
Expand Down

0 comments on commit cf3c34b

Please sign in to comment.