Skip to content

Commit

Permalink
Fix hoverdata in plasma plots (tardis-sn#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 authored and DhruvSondhi committed Aug 21, 2021
1 parent 439c12d commit 11524ec
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 11524ec

Please sign in to comment.