matplotlib / matplotlib/mplfinance
Feature Request: HLines on AddPlot
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to implement hlines (and vlines) for addplots. Right now they’re only available on the primary panel.
The vlines functionality might require a bit more thought as it seems more intuitive that the vlines would slice through all the charts vertically. But I suppose an easy work around would just be the draw the same vertical line on the main plot and addplot for now.
Contributor guide
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 by tracing how addplots are handled and how the existing primary-panel hlines and vlines support is implemented. Determine whether hlines should apply independently to addplots and whether vlines should span all charts or be repeated per panel; done means the chosen behavior works for addplots and is covered by appropriate plotting tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, 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