diff --git a/src/lib_graphs.py b/src/lib_graphs.py index 1a4fe11..473f6bc 100755 --- a/src/lib_graphs.py +++ b/src/lib_graphs.py @@ -29,7 +29,7 @@ def dotgraph(arr): ''' Needs list of (title, count, attr_str) tuples ''' def D(title, count, attr_str=''): return '

{1}

{2}'.format( - attr_str, title, '' * count) + attr_str, title, '' * max(1, count)) return '
' + ''.join([D(*x) for x in arr]) + '
'