Skip to content

Commit

Permalink
minor style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Schneider committed Mar 17, 2021
1 parent 928f9ed commit 3868abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepcomp/env/entities/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def plot(self, ax, radius=2, details=False):

if details:
# show curr data rate and utility below the UE
artists.append(ax.annotate(f'r: {self.curr_dr:.2f}', xy=(self.pos.x, self.pos.y - radius -2),
artists.append(ax.annotate(f'r: {self.curr_dr:.2f}', xy=(self.pos.x, self.pos.y - radius - 2),
ha='center', va='center'))
artists.append(ax.annotate(f'qoe: {self.utility:.2f}', xy=(self.pos.x, self.pos.y - radius -6),
artists.append(ax.annotate(f'qoe: {self.utility:.2f}', xy=(self.pos.x, self.pos.y - radius - 6),
ha='center', va='center'))
return artists

Expand Down

0 comments on commit 3868abe

Please sign in to comment.