matplotlib / matplotlib/mplfinance
Line name in hlines
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
Hello there!
@DanielGoldfarb , first of all, I wanted to thank you for the work done. it is very pleasant to use your module in work.
I recently started looking into the matplotlib and mplfinance packages, so I often run into problems that get resolved pretty quickly (thanks google).
Unfortunately, I could not think of or find a solution to the following problem:
I am building a graph, on this graph I display n lines, I would like to name each of these lines, or indicate their value on the y-axis.

As a result, I really want to get something like this:

p.s. Sorry if there are errors somewhere in the text (I used google translate)
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
The issue names mplfinance and matplotlib but no source file, test, or entry point to start from. First inspect how mplfinance creates and exposes hlines, then define the supported way to label each line or show its y-axis value; done means the requested labels appear on the example chart and are covered by 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
- Needs clarification
- Newbie friendliness
- 25/100