question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Altair is about mapping the Vega-Lite grammar to a Python API. There are a few places where this mapping is not as user-friendly as it perhaps could be. A running list:

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jeffbaumescommented, Jun 18, 2018

I have not been using the Altair API too long but +1 to chart.facet(). It is tough to keep composition options (layer, facet, repeat) straight. For dealing with the chart later after a facet or other composition you have to know when to reach into the spec or layer object, where to put data, etc. I seem to get the “required field ‘data’ missing” frequently. There are also some other gotchas (can’t facet a facet, facet ordering does not seem possible, config values cannot be inside the facet spec but need to be at the top level).

However, this is complexity inherent in Vega Lite that may be difficult/impossible to hide in Altair.

0reactions
jakevdpcommented, Jul 19, 2018

pull requests welcome 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your APIs should solve a pain point – not become one.
A business-led approach to APIs starts by identifying the end customer and the problem you are solving for them. Your API should be...
Read more >
Are your APIs causing more pain points instead of solving ...
Mismanagement of APIs increases operational issues and delivers incremental results. Here are five API integration challenges and how to overcome them.
Read more >
Pain Points In API Development? They're Everywhere
Pain points in API development come from lack of clarity in the organization's development loops 2.Development loops should be documented and studied -...
Read more >
API World Conference reveals API developer pain points
Poor communications skills create another pain point for making the API useful to developers, said Musser. This is primarily caused by not ...
Read more >
Deep dive into top web developer pain points
Keeping up with features and APIs that enable new use-cases is a smaller problem. Developers struggle more with features, APIs, and changes to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found