Skip to content

Commit

Permalink
Fix hoverdata in plasma plots (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 authored Aug 19, 2021
1 parent 0275b71 commit 2bf1b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/visualization/tools/convergence_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,13 @@ def update_plasma_plots(self):
customdata = len(x) * [
"<br>"
+ "Emitted Luminosity: "
+ f'{self.value_data["Absorbed"][-1]:.4g}'
+ f'{self.value_data["Emitted"][-1]:.4g}'
+ "<br>"
+ "Requested Luminosity: "
+ f'{self.value_data["Requested"][-1]:.4g}'
+ "<br>"
+ "Absorbed Luminosity: "
+ f'{self.value_data["Requested"][-1]:.4g}'
+ f'{self.value_data["Absorbed"][-1]:.4g}'
]

# add a radiation temperature vs shell velocity trace to the plasma plot
Expand Down

0 comments on commit 2bf1b66

Please sign in to comment.