KeyError: 'histogram'
Anonymous941 opened this issue · comments
Anonymous941 commented
When running ./analyze.py topCommands
, this error is shown:
y: Command, x: Frequency
Traceback (most recent call last):
File "/.../zsh-history-analysis/./analyze.py", line 192, in <module>
chart(colors=[], data=data, args=chart_args, labels=labels)
File "/.../.venv/lib/python3.12/site-packages/termgraph/termgraph.py", line 534, in chart
if args["histogram"]:
~~~~^^^^^^^^^^^^^
KeyError: 'histogram'
Anonymous941 commented
I fixed it and made a PR in #9
Brandon Amos commented
thanks!