Coder Social home page Coder Social logo

Tooltips - revisited about altair HOT 5 CLOSED

vegawidget avatar vegawidget commented on May 31, 2024
Tooltips - revisited

from altair.

Comments (5)

AliciaSchep avatar AliciaSchep commented on May 31, 2024

I think these changes will make for a nicer api in terms of where to specify the tooltip (in the encodings & vegalite spec)... too bad they didn't come a bit earlier though!

from altair.

ijlyttle avatar ijlyttle commented on May 31, 2024

I agree with both of your assertions!

Because we will be able to create tooltips using Altiar, I don't think that the current tooltip-constructor functions will belong in this R package. I think that this package should focus on a clean interface to Altair, and embedding, or otherwise communicating the resulting charts.

That being said, I like the idea of using piping to construct a custom tooltip, so I am thinking to start a companion package altools, where we could build R-like helpers. The altair package could suggest altools.

from altair.

ijlyttle avatar ijlyttle commented on May 31, 2024

Before removing the tooltip functions, I made this block so I could remind myself of what I liked and thought could be improved in the "old" way.

from altair.

ijlyttle avatar ijlyttle commented on May 31, 2024

Leaving this open as a reminder to rebuild tooltip-functions, either here or in altools. Moving the "demolition" aspects to #45.

from altair.

ijlyttle avatar ijlyttle commented on May 31, 2024

I think this is solved; the tooltips in the latest Altair seem to work as we might expect.

from altair.

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.