Skip to content

Commit

Permalink
Merge pull request #83 from jzuhone/quick_gui_fix
Browse files Browse the repository at this point in the history
[bugfix] Wrong line is updated in gui_fit
  • Loading branch information
taldcroft authored Apr 11, 2020
2 parents 1fad768 + 85a718a commit bd5d6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xija/component/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def plot_data__time(self, fig, ax):
ax.set_title('{}: model (red) and data (blue)'.format(self.name))
ax.set_ylabel('Temperature (%s)' % self.units)
else:
lines[1].set_ydata(self.mvals)
lines[0].set_ydata(self.mvals)

def plot_resid__time(self, fig, ax):
lines = ax.get_lines()
Expand Down

0 comments on commit bd5d6f1

Please sign in to comment.