matplotlib / matplotlib/mplfinance

Line name in hlines

Open
#265 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
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.
![image](https://user-images.githubusercontent.com/54934541/93404515-6ff26f80-f89b-11ea-98d1-1c7314f87bf4.png)

As a result, I really want to get something like this:
![image](https://user-images.githubusercontent.com/54934541/93404789-2b1b0880-f89c-11ea-942a-df39a24dc7ae.png)

p.s. Sorry if there are errors somewhere in the text (I used google translate)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.