termgraph
termgraph copied to clipboard
to solve the over length of bar problem
to solve the over length of bar problem for me (as i have really big number in prediction) it's about the find_max function , the original function only find the biggest number in target array, so i change the fucnction to:
def find_max(list_):
"""Return the maximum value in sublist of list."""
m1=max([sublist[-1] for sublist in list_])
m2 = max([sublist[0] for sublist in list_])
return max([m1,m2])
and solved my problem :)
@songmuyi Do you have a sample data that I can test with?