Reformat to fit in 79 columns
authorAchal Dave <achalddave@live.com>
Wed, 4 May 2016 15:55:43 +0000 (11:55 -0400)
committerAchal Dave <achalddave@live.com>
Wed, 4 May 2016 15:55:43 +0000 (11:55 -0400)
tools/extra/plot_training_log.py.example

index c3b47a8..3ea66e3 100755 (executable)
@@ -10,7 +10,8 @@ import matplotlib.legend as lgd
 import matplotlib.markers as mks
 
 def get_log_parsing_script():
-    dirname = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
+    dirname = os.path.dirname(os.path.abspath(inspect.getfile(
+        inspect.currentframe())))
     return dirname + '/parse_log.sh'
 
 def get_log_file_suffix():
@@ -61,7 +62,8 @@ def get_data_file_type(chart_type):
     return data_file_type
 
 def get_data_file(chart_type, path_to_log):
-    return os.path.basename(path_to_log) + '.' + get_data_file_type(chart_type).lower()
+    return (os.path.basename(path_to_log) + '.' +
+            get_data_file_type(chart_type).lower())
 
 def get_field_descriptions(chart_type):
     description = get_chart_type_description(chart_type).split(