Live data from Hacker News

An open access book on scientific visualization using Python and Matplotlib

github.com

21–30 of 38 posts

Re: An open access book on scientific visualization using Python and Matplotlib

#22
Anyone have experience with both MatPlotLib and Vega / Vega-lite? I like working in Clojure and am just about to do a bunch of data-viz.

I've only done a simple line chart so far, and I used this oz library for interfacing with Clojure and displaying results in the browser. [1]

One of the problems was lack of error messages. Not sure what part of the tooling was failing me there.

[1]. https://github.com/metasoarous/oz

Re: An open access book on scientific visualization using Python and Matplotlib

#25

Does anyone know of a site where people submit visualizations, where one might find these tools pushed to the extremes of what they can do in novel ways?

some examples on https://plotapi.com/gallery/ and https://datacrayon.com

Re: An open access book on scientific visualization using Python and Matplotlib

#26

Anyone have experience with both MatPlotLib and Vega / Vega-lite? I like working in Clojure and am just about to do a bunch of data-viz. I've only done a simple line chart so far, and I used this oz library for interfacing with Clojure and displaying results in the browser. [1] One of the problems was lack of error messages. Not sure what part of the tooling was failing me there. [1]. https://github.com/metasoarous/o…

I can't speak to oz's error messages, but for the vega-lite + python integration, I've found altair pretty usable. In particular, simple scatter plots with tooltips were easy to get up and running.

https://altair-viz.github.io/

https://altair-viz.github.io/gallery/scatter_tooltips.html?h...

Re: An open access book on scientific visualization using Python and Matplotlib

#27
post #17

Does anyone know if M. Rougier has posted his emacs config for python? I'm heavy on the emacs/python/science and I'm curious if he uses any of the more extensive packages, like elpy.

I'm using default python mode actually (no elpy, no lsp) and emacs python configuration is maybe 3 or 4 lines.

Make sense, cheers from an American scientist ! I purchased the hard copy despite it being from Amazon, although I understand the logistics at play there.

J'étais à Polytechnique à Paris pendant deux ans, j'aimerais que les Américains soient aussi au logiciel "Open Source" que les Français

Re: An open access book on scientific visualization using Python and Matplotlib

#29
post #16
post #7

This person is prolific and has a ton of great tutorials, free books, and more in their repo (I like the numpy book: https://www.labri.fr/perso/nrougier/from-python-to-numpy/ ). Major thanks to the author for sharing all this knowledge.

Thanks!

Fantastic work!

Re: An open access book on scientific visualization using Python and Matplotlib

#30
post #17

Earlier quoted context omitted.

I'm using default python mode actually (no elpy, no lsp) and emacs python configuration is maybe 3 or 4 lines.

Make sense, cheers from an American scientist ! I purchased the hard copy despite it being from Amazon, although I understand the logistics at play there. J'étais à Polytechnique à Paris pendant deux ans, j'aimerais que les Américains soient aussi au logiciel "Open Source" que les Français

One of the reasons why we do it is that we don’t have the same funding lying around. And also a different attitude towards intellectual property and a strong dislike of being effectively hostage of a for-profit software company. At least that’s the feeling around here (not X, but close enough to meet people there for lunch :) ).

It is still more difficult than we’d like to get funded for Open Source development (as a non-CS scientist), but there have been some encouraging noise recently, and some political will to reduce our reliance on black-box commercial software.

Post reply on HN