Skip to content

Commit

Permalink
Fix missing temperature zone in plots.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgevans committed Aug 14, 2023
1 parent df8b5ed commit 0b97b88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ SPDX-License-Identifier: AGPL-3.0-only

# Changelog

## Version 0.9.4

- Fix multi-temperature plotting bug.

## Version 0.9.3

- Update dependencies, convert to pyproject.toml.
Expand Down
2 changes: 1 addition & 1 deletion src/qslib/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2338,7 +2338,7 @@ def sel(x):

reltemps = self.temperatures.loc[sel, :]

for x in range(1, self.num_zones):
for x in range(1, self.num_zones + 1):
ax.plot(
reltemps.loc[:, ("time", "hours")],
reltemps.loc[:, ("sample", x)],
Expand Down

0 comments on commit 0b97b88

Please sign in to comment.