matplotlib / matplotlib/mplfinance
One Y axis on panel with multiple studies?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
I am having trouble specifying one y axis for all studies on my sub panels. Is there a way to remove either the left or right y axis and fixing them to one?
I tried to add a 0 line to my studies, as you can see the line starts at 0 on the left and ends slightly above zero on the right, it makes it hard to visually see when the 0 line is crossed and if it was correctly crossed.

I apologize if if I am out of the contributing guidelines, my internet is dismal at the moment and haven't been able to load the guidelines.
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
No source file, test, or entry point is identified in the issue. Start by locating mplfinance's study and subpanel axis handling and reproduce the attached multi-study chart; done means studies in a subpanel use one correctly aligned y-axis, including the zero-line case.
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