Skip to content

Commit

Permalink
Fix fstring weirdness part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
janbridley committed Nov 4, 2024
1 parent 3fbec56 commit e2809f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freud/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def plot(self, ax=None):

legend_labels = [
(
f"${'w' if self.wl else 'q'}{'\'' if self.weighted else ''}_"
f'${"w" if self.wl else "q"}{"'" if self.weighted else ""}_'
f"{{{sph_l}{',ave' if self.average else ''}}}$"
)
for sph_l in ls
Expand Down

0 comments on commit e2809f2

Please sign in to comment.