Skip to content

Commit

Permalink
fix padding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Aug 20, 2024
1 parent 1fef959 commit 8f55ccf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions markimg/markimg.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,14 +531,14 @@ def run(self, options):
plt.text(x_pos, y_pos, '', color='white', fontsize=options.textSize, rotation=90)

d_total = {}
totalRightInfo = 'Total right'.rjust(16) + f': {str(
self.getSum(d_lengths['Right femur'], d_lengths['Right tibia']))} {unit}'
totalRightInfo = 'Total right'.rjust(16) + \
f': {str(self.getSum(d_lengths['Right femur'], d_lengths['Right tibia']))} {unit}'
d_total['Total right'] = str(self.getSum(d_lengths['Right femur'], d_lengths['Right tibia'])) + f' {unit}'
x_pos = x_pos + line_gap
plt.text(x_pos, y_pos, totalRightInfo, color='white', fontsize=options.textSize, rotation=90)

totalLeftInfo = 'Total left'.rjust(16) + f': {str(
self.getSum(d_lengths['Left femur'], d_lengths['Left tibia']))} {unit}'
totalLeftInfo = 'Total left'.rjust(16) + \
f': {str(self.getSum(d_lengths['Left femur'], d_lengths['Left tibia']))} {unit}'
d_total['Total left'] = str(self.getSum(d_lengths['Left femur'], d_lengths['Left tibia'])) + f' {unit}'
x_pos = x_pos + line_gap
plt.text(x_pos, y_pos, totalLeftInfo, color='white', fontsize=options.textSize, rotation=90)
Expand Down

0 comments on commit 8f55ccf

Please sign in to comment.