mkaz / termgraph

a python command-line tool which draws basic graphs in the terminal
MIT License
3.14k stars 165 forks source link

Line after 0 grayed out #93

Open dzieciou opened 2 years ago

dzieciou commented 2 years ago

Why in horizontal bar chart line following 0.0 value Is grey out?

image

Here's example to reproduce the problem:

from termgraph.termgraph import chart

data = [[0],[34], [2]]
labels = ["Cars", "Boats", "Planes"]
args = {
    "histogram": False,
    "stacked": False,
    "width": 50,
    "no_labels": False,
    "no_values": False,
    "format": "{:.0f}",
    "suffix": "",
    "vertical": False
}
chart(None, data, args, labels)