Live data from Hacker News

An open access book on scientific visualization using Python and Matplotlib

github.com

31–38 of 38 posts

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

#31
post #18
post #9

This book is distributed under a non commercial license (CC-BY-NC-SA 4.0) [0]. While I understand that language is evolving and that only under a "strict definition" of open access does it mean removing barriers to copying and reuse [1], it's seems pretty duplicitous to say it's "open" while putting it under a non-commercial license. [0] https://github.com/rougier/scientific-visualization-book/blo... [1] https://en.w…

The NC part was mostly to avoid having someone to sell the book on some platform without my knowledge.

I'm not addressing the issue of whether you receive compensation for your work or your desire to have control over who copies it.

I'm pointing out that you've stated it's "open access" without making it open access, at least for a strict interpretation of open access.

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

#32

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…

if you need simple output you can just run clojure in orgmode and output svg

https://geokon-gh.github.io/literate-clojure.html

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

#33
post #32

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…

if you need simple output you can just run clojure in orgmode and output svg https://geokon-gh.github.io/literate-clojure.html

Thanks for sharing. I may do this if I ever decide to do some 'notebook' style work. Oz mentions integrating with jupyter and whatever else, but I love org-mode and wouldn't really want to start using a tool other than Emacs if I could avoid it :)

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

#34
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

I tried to avoid Amazon and even found a French printers but the mailing costs were too high outside Europe.

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

#35
post #32

Earlier quoted context omitted.

if you need simple output you can just run clojure in orgmode and output svg https://geokon-gh.github.io/literate-clojure.html

Thanks for sharing. I may do this if I ever decide to do some 'notebook' style work. Oz mentions integrating with jupyter and whatever else, but I love org-mode and wouldn't really want to start using a tool other than Emacs if I could avoid it :)

To be clear, there isn't really any org magic going on. You can also do the same identical stuff directly from a REPL and just spit the SVGs to file.

I've also used the same stuff in a GUI - where the SVGs are rendered directly in the UI (I just parse the SVG elements and draw to the Canvas)

Oz/Vega/etc. innately have this blackbox JS layout/rendering layer which I'm weary of. Here you are just manipulating SVG hiccup directly in Clojure. And then at the very last stage it's exported to SVG's XML syntax.

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

#36
post #9

This book is distributed under a non commercial license (CC-BY-NC-SA 4.0) [0]. While I understand that language is evolving and that only under a "strict definition" of open access does it mean removing barriers to copying and reuse [1], it's seems pretty duplicitous to say it's "open" while putting it under a non-commercial license. [0] https://github.com/rougier/scientific-visualization-book/blo... [1] https://en.w…

I can freely read, share and modify the book. The only restrictions is that I can't sell it. It's pretty open in my eyes ,even if it doesn't comply strictly to the definition of this or this organisation.

on the same topic, I've seen people say that GPL isn't free for example.

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

#37
post #31
post #18

Earlier quoted context omitted.

The NC part was mostly to avoid having someone to sell the book on some platform without my knowledge.

I'm not addressing the issue of whether you receive compensation for your work or your desire to have control over who copies it. I'm pointing out that you've stated it's "open access" without making it open access, at least for a strict interpretation of open access.

this is not the (common) interpretation of open access, which usually means, "no paywall".
Post reply on HN