matplotlib / matplotlib/mplfinance

Feature Request: cursor movement mirror on other subplots if its inside axeies limits

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

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
4.4k
Forks
678
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
No its just usable when I want to study the must better places of entery and exit in defferent timeframes

**Describe the solution you'd like**
I need to have a mirrored mouse pointer on all other subplots to see where am I.for example if my mouse on center of 4h timeframe its very useful to see where the place in 8h timeframe.

**Describe alternatives you've considered**
I think plotly on his volume chart have a mirror to show where is the mouse pointer.also its support moving and scaling for example if data is precent on other subplot if user just drag and scrool on one plot others will move with it and two vertical and horizontal lines will show the exact position of mouse pointer on all otherr charts...

**Additional context**
it will not care about connected or external axies. the cursor have an x and y position if this option enabled than just will watch to other plots and if the x pos is inside supported range of x axis of other subplot it will draw an horizontal line in this place and if not nothing will happen. and for y similar to x with a vertical line.
and for moving a plot if the range going out it can move and will just try to support all corrently showing subplot on all other charts like a simple ai algorithm.

I have an image to show what I mean:

![cursor movement mirror on other subplots](https://user-images.githubusercontent.com/5004900/159210805-41341d4f-4af0-4f12-b9e4-6492c6eb69ad.jpg)

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 files, tests, or entry points are identified. Start by reviewing mplfinance's existing subplot and mouse-event handling, then define the synchronization behavior and tests for cursor positions inside other subplot limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.