Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

matplotlib equivalent ?

+1 vote
asked Mar 1 by jfmaheux (150 points)
Is there anyway to get histogram or bar plot in onlineGDB? It is really too bad that matplotlib is not supported. Any (simple) suggestion? I know I could creat some kind of ascii plot function, but that's not really nice! :)

1 Answer

+1 vote
answered Mar 7 by Peter Minarik (88,520 points)
Plotly is widely used, however, it requires a graphical interface and OnlineGDB only has a standard output (characters only).

So you'd need to run the code on a physical machine.

https://plotly.com/python/histograms/
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...