News for hackers. Stuff that matters.
Re:Matplotlib by hurryer on Sunday November 12, 2023 @02:53PM (#38243521)
Bokeh has a much more sensible API, and it generates an interactive HTML plot by default.

Unfortunately it's missing quite a few specialized plots from matplotlib, in particular the popular histogram plot is strangely difficult to draw.

Re:Matplotlib by rich_sasha on Sunday November 12, 2023 @03:25PM (#38243775)
Bokeh requires a lot more typing to do the same thing. Also, for interactive work, I often want the GUI, not a webpage with the plot on it.
Re:Matplotlib by dr_kiszonka on Sunday November 12, 2023 @07:41PM (#38245653)
Have you tried Altair? I am considering switching away from Plotly and have been eyeing Altair. (I have no idea how good it is.)
Re:Matplotlib by ljvmiranda on Sunday November 12, 2023 @11:32PM (#38246945)
I'm moving the opposite direction: Altair -> Plotly. I find altair to be too "grammar of graphics" for its own good. And the vega backend makes it hard to hack around. Saving to pdf or high-quality also takes extra steps with additional dependencies.