Plotext – Python Plotting on the Terminal
github.com
github.com
I have some home made ones (working for kitty and mlterm/sixel etc), but they are not in shape for releasing.
ipython3 and jupyter console both have an image display hook you can use, but they work in different ways.
I use matplotlib a lot but I keep googling the same things again and again, which is my subjective indicator that something in the design is wrong. How to set log scales again? Do I apply this method to the figure or axis object? Setting a different backend (like agg) after pyplot was importet? Also, nested kwargs make it impossible for my IDE to give meaningful hints on parameters, not even talking about typed interfaces so far. Global state!
I mean, this library solves a truly complex problem and yes, I get things done but none of the hours working with it was close to be pleasant.
I wish some day someone is brave enough to enter new lands, leaving this matlab style of thinking behind.
I use now hipsterplot, since it is much simpler and tweakable, but I wonder if heatmaps will be possible with this tool, since it uses color it could be
It would be handy for quick ad-hoc days analysis of log files or access logs.
[edit]: matplotlib always crashed on me and failed to find Qt library.
As alternatives I might recommend hipsterplot (the name) or uniplot (very similar but lighter, I'm the author).
The other thing is not depending on GUIs, libraries, and stuff, makes it resilient and usable in hard conditions (e.g. if you accidentally remove some core system libraries but you still want to see a graph)