Skip to content

Commit

Permalink
Please ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
bdestombe committed Aug 22, 2023
1 parent 43f42c8 commit e0db37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dtscalibration/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __repr__(self):

# print sections
vl = [
"{0:.2f}{2} - {1:.2f}{2}".format(vi.start, vi.stop, unit)
f"{vi.start:.2f}{unit} - {vi.stop:.2f}{unit}"
for vi in v
]
preamble_new += " and ".join(vl) + "\n"
Expand Down
3 changes: 1 addition & 2 deletions src/dtscalibration/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,7 @@ def plot_sigma_report(
)
else:
ax1.set_title(
"Projected uncertainty at t={} compared to standard error "
"in baths".format(itimes)
f"Projected uncertainty at t={itimes} compared to standard error in baths"
)
ax1.legend()
ax1.set_ylabel(r"Temperature [$^\circ$C]")
Expand Down

0 comments on commit e0db37c

Please sign in to comment.