matplotlib / matplotlib/mplfinance

How does mplfinance support pick_event?

Open
#361 8 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

Because just learned MPL, MPF, finally understand what you want!

I want to find out other relevant data when the user clicks a bar after MPF draws the K-line graph. The key is to **pick_event.**

I checked your help and all the cases, and the chart is generated by "plot". But picker is not supported in "plot"!

**My question now is:**

**How to support “picker” in mplfinance?
Can you provide an example?**

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 with the mplfinance plot entry point and the Matplotlib pick_event mechanism described in the issue. Reproduce a K-line chart, determine how bar artists are created, and establish whether picker support requires an API change or only an example; done means users can click a bar and retrieve relevant chart data.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.