matplotlib / matplotlib/mpl-altair
Add bar charts
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 18
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Bar charts aren't supported yet in mpl-altair.
Implementation Notes
- Marks should be handled in _marks.py
- Plotting different data types in a bar plot gives different types of bar charts in Altair (vertical, horizontal, skinny bars, fat bars).
- Plotting a categorical y against a categorical x gives a heatmap-like chart in Altair.
- Adding a color encoding does different things depending on the data type. Sometimes the chart gets stacked, sometimes it doesn't.
For more information
- Altair user_guide
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in _marks.py and read Altair's marks user guide linked in the issue. Trace how mark types and encodings are handled, then define support for bar charts across the listed data-type combinations and color-encoding behaviors. Done means mpl-altair can produce the corresponding vertical, horizontal, skinny, fat, stacked, and heatmap-like bar charts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100