Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMageeAstro committed Mar 26, 2021
1 parent 082c0c4 commit 26078cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/visualization/tools/sdec_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ def _plot_absorption_mpl(self):
elements_z = self.elements
for i, atomic_number in enumerate(elements_z):
# Add a try catch because elemets_z comes from the total contribution of absorption and emission.
# Therefore it's possible that something in elements_z is not in the emission df
# Therefore it's possible that something in elements_z is not in the absorption df
try:
upper_level = lower_level
lower_level = (
Expand Down Expand Up @@ -1327,7 +1327,7 @@ def _plot_absorption_ply(self):
elements_z = self.elements
for i, atomic_num in enumerate(elements_z):
# Add a try catch because elemets_z comes from the total contribution of absorption and emission.
# Therefore it's possible that something in elements_z is not in the emission df
# Therefore it's possible that something in elements_z is not in the absorption df
try:
self.fig.add_trace(
go.Scatter(
Expand Down

0 comments on commit 26078cd

Please sign in to comment.