Skip to content

Commit

Permalink
Minor style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ml7 committed Jun 28, 2018
1 parent b9c63d2 commit d489af4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorboardX/utils.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# functions for convertion goes here
# Functions for converting
def figure_to_image(figures, close=True):
"""Render matplotlib figure to numpy format.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_summary_writer.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_summary_writer_close():
# OSError: [Errno 24] Too many open files
passed = True
try:
for i in range(2048):
for _ in range(2048):
writer = SummaryWriter()
writer.close()
except OSError:
Expand Down

0 comments on commit d489af4

Please sign in to comment.