Skip to content

Commit

Permalink
Run black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak-dv committed Apr 7, 2024
1 parent efa604a commit e91101e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tardis/visualization/tools/convergence_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ def update_t_inner_luminosities_plot(self):
self.t_inner_luminosities_plot.data[0].y = self.value_data[
"t_inner"
]
self.t_inner_luminosities_plot.data[0].hovertemplate = (
"<b>%{y:.3f}</b> at X = %{x:,.0f}<extra>Inner Boundary Temperature</extra>" # trace name in extra tag to avoid new lines in hoverdata
)
self.t_inner_luminosities_plot.data[
0
].hovertemplate = "<b>%{y:.3f}</b> at X = %{x:,.0f}<extra>Inner Boundary Temperature</extra>" # trace name in extra tag to avoid new lines in hoverdata

# the next three for emitted, absorbed and requested luminosities
for index, luminosity in zip(range(1, 4), self.luminosities):
Expand All @@ -395,9 +395,9 @@ def update_t_inner_luminosities_plot(self):

self.t_inner_luminosities_plot.data[4].x = x
self.t_inner_luminosities_plot.data[4].y = y
self.t_inner_luminosities_plot.data[4].hovertemplate = (
"<b>%{y:.2f}%</b> at X = %{x:,.0f}"
)
self.t_inner_luminosities_plot.data[
4
].hovertemplate = "<b>%{y:.2f}%</b> at X = %{x:,.0f}"

def update(self, export_convergence_plots=False, last=False):
"""
Expand Down

0 comments on commit e91101e

Please sign in to comment.