niklas-heer / speed-comparison

A repo which compares the speed of different programming languages.
https://niklas-heer.github.io/speed-comparison
MIT License
475 stars 76 forks source link

Improve plotting with seaborn to scale better #53

Open niklas-heer opened 1 year ago

niklas-heer commented 1 year ago

Currently, I'm using seaborn with Python to display the results. But if a lot more languages are added, the details being displayed will become too much. I'm looking for help with displaying the results in a better way, preferably with Python and seaborn. Maybe switching to Matplotlib would be now appropriate?

https://github.com/niklas-heer/speed-comparison/blob/df56f356eba2de49692ac1a4144e27af3edc084f/analyze.py#L26-L86

joelandman commented 1 year ago

I've not used seaborn. Will look at that. I noted that the first digit on the top set of results seems to be truncated.

I'll play with this later tonight after work, and see if I can help with it.

niklas-heer commented 1 year ago

Thank you, @joelandman that is much appreciated. Seaborn is as far as I've seen just a Matplotlib which understands dataframes.