matplotlib / matplotlib/mplfinance

How to push my marker subplot in front of the main plot wick? (problem with candles and wicks)

Open
#357 2 comments 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.
when im adding a mark(I've used 'v') with mpf.make_addplot ,
my subplot is at a better visual priority from the candles, but not the wicks.
![image](https://user-images.githubusercontent.com/53187048/111660920-3cc37580-8817-11eb-9435-39d6091bab8b.png)

is that a bug? is there anything im doing wrong?
I've used "inherit" in styling, and my make_addplot is pretty simple.

![image](https://user-images.githubusercontent.com/53187048/111661114-6a102380-8817-11eb-9573-137b5be10662.png)
![image](https://user-images.githubusercontent.com/53187048/111661809-076b5780-8818-11eb-8747-ac6d3be28467.png)

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

Start by reproducing the attached candle-and-wick example using mplfinance.make_addplot and the shown styling. Inspect how the addplot marker and candlestick wicks are rendered and layered; done means determining whether the overlap is a bug or expected behavior and providing a confirmed explanation or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.