matplotlib / matplotlib/mplfinance

One Y axis on panel with multiple studies?

Open
#493 3 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

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.

![Example](https://user-images.githubusercontent.com/5552403/149666400-77b93ac9-8bf8-4246-8b93-0ffd8b835ba2.PNG)

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.