Skip to content

Commit

Permalink
Fix typo (found by codespell)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Apr 29, 2023
1 parent dba332e commit 5b37760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plot/plot_cer.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def annot_min(boxcolor, xpos, ypos, x,y):

ax2 = ax1.twiny() # ax1 and ax2 share y-axis
ax2.set_xlabel("Training Iterations")
ax2.set_xlim(ax1.get_xlim()) # ensure the independant x-axes now span the same range
ax2.set_xlim(ax1.get_xlim()) # ensure the independent x-axes now span the same range
ax2.set_xticks(x) # copy over the locations of the x-ticks from Learning Iterations
ax2.tick_params(axis='x', rotation=45, labelsize='small')
ax2.set_xticklabels(t) # But give value of Training Iterations
Expand Down
2 changes: 1 addition & 1 deletion plot/plot_cer_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def annot_min(boxcolor, xpos, ypos, x,y):

ax2 = ax1.twiny() # ax1 and ax2 share y-axis
ax2.set_xlabel("Training Iterations")
ax2.set_xlim(ax1.get_xlim()) # ensure the independant x-axes now span the same range
ax2.set_xlim(ax1.get_xlim()) # ensure the independent x-axes now span the same range
ax2.set_xticks(x) # copy over the locations of the x-ticks from Learning Iterations
ax2.tick_params(axis='x', rotation=45, labelsize='small')
ax2.set_xticklabels(t) # But give value of Training Iterations
Expand Down

0 comments on commit 5b37760

Please sign in to comment.