Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data is not plotting as expected. #1

Open
realjonathanmaier opened this issue Mar 19, 2024 · 0 comments
Open

Data is not plotting as expected. #1

realjonathanmaier opened this issue Mar 19, 2024 · 0 comments

Comments

@realjonathanmaier
Copy link

The plot is using the largest value in the list and is setting it as the second data point in the plot, which is then ignoring all other data points after it.

I'm using Python 3.11.4 and the latest build for asciiplot on PyPi.

from asciiplot import asciiize
print( asciiize([1575.8, 2409.2, 2411.9, 23544.2, 2100.0], height=15, inter_points_margin=5) )
23545┤╭───────────────────────
21976┤│
20406┤│
18837┤│
17268┤│
15699┤│
14129┤│
12560┤│
10991┤│
9421┤│
7852┤│
6283┤│
4714┤│
3144┤│
1575┼╯────┬─────┬─────┬─────┬
1 2 3 4 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant