Git Product home page Git Product logo

Comments (7)

rougier avatar rougier commented on May 18, 2024

You're right! Could you make a PR (for both book content and script)?

from scientific-visualization-book.

anntzer avatar anntzer commented on May 18, 2024

Can I leave that to you? :) Especially as I think (as noted above) there are some editorial decisions as to how to handle the redundancy with figure 2.5.

from scientific-visualization-book.

rougier avatar rougier commented on May 18, 2024

Sure. Note that it's not really redundant with figure 2.5 since in that case I use a blended transform to mix data/figue coordinate.

from scientific-visualization-book.

anntzer avatar anntzer commented on May 18, 2024

Closed by 8d14fc2, afaict. Thanks :)

from scientific-visualization-book.

anntzer avatar anntzer commented on May 18, 2024

@rougier I recently realized that these examples can be implemented much more simply by using annotate(), which effectively provides a specialized version of ScaledTranslation; see https://github.com/matplotlib/matplotlib/pull/25905/files.
Clearly I think in the book the example with ScaledTranslation should stay at least for pedagogical purposes, but it's up to you whether you want to also mention the "easier" version with annotate().

from scientific-visualization-book.

rougier avatar rougier commented on May 18, 2024

Oh thanks for the ref, I did not think of it and I confirm it would be worth a mention in the text. Do you want to make a PR?

from scientific-visualization-book.

anntzer avatar anntzer commented on May 18, 2024

I'd rather leave the word-smithing to you :)

from scientific-visualization-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.