Skip to content

Commit

Permalink
Update widgets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pokwer authored Jun 29, 2021
1 parent d8a9e2e commit eab66bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def change_graph(self, data, name, unit):
self.graph.cb.set_clim(vmin=data.min(), vmax=data.max())
self.graph.cb.update_normal(color_map)
if unit == "(K)":
unit = "Temprature (K)"
unit = "T (K)"
self.graph.cb.set_label(unit)
for i, item in enumerate(data):
self.shells[i].set_facecolor(color_map.to_rgba(item))
Expand Down Expand Up @@ -760,7 +760,7 @@ def plot_model(self):
self.graph.cb.update_normal(t_rad_color_map)
else:
self.graph.cb = self.graph.figure.colorbar(t_rad_color_map)
self.graph.cb.set_label("Temprature (K)")
self.graph.cb.set_label("T (K)")
self.graph.normalizing_factor = (
0.2
* (
Expand Down

0 comments on commit eab66bc

Please sign in to comment.