You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone!
Thank you for your work on Plotters :)
I used Histogram before and it plotted in the terminal as expected. But now, with a simple array looking like that:
New stuff: [ 24.0, 5.0,]
I get this graph!
It looks like Histogram believes there is ONE element with label 5, and ONE element with label 24, instead of 5 elements of one kind and 24 of the other kind. Even though there are plenty of examples for SVG and file printing, I am unable to find how to print to terminal in the docs :(, sorry about that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone!
Thank you for your work on Plotters :)
I used Histogram before and it plotted in the terminal as expected. But now, with a simple array looking like that:
I get this graph!
It looks like Histogram believes there is ONE element with label 5, and ONE element with label 24, instead of 5 elements of one kind and 24 of the other kind. Even though there are plenty of examples for SVG and file printing, I am unable to find how to print to terminal in the docs :(, sorry about that.
How can I plot this map as Histogram :
I saw @hh made a PR for a pie chart but it does not look ready yet :) ? https://github.com/38/plotters/pull/292/commits
Beta Was this translation helpful? Give feedback.
All reactions