mplfinance
mplfinance copied to clipboard
How to make mplfinance support mouse events?
Normal financial analysis data, hope to support mouse events. I read the history Q & A, and there were similar questions, but there was no final result.
Excuse me, how can I get mplfnance to support mouse events?
Presently there is nothing built into mplfinance to support mouse events. For the time being, you will have to:
- gain access to the mplfinance Figure and Axes objects and
- use Matplotlib to code whatever mouse events to which you want the mplfinance plot to respond.
Hi, @DanielGoldfarb : After repeated testing, mplfinance can support mouse entry, label click mouse events. But what I want most is the K-line mouse event. K line is through mplfinance.plot () to generate, and then: plot does not support "picker", which makes it impossible to accurately obtain the corresponding data of K-line graph. If passed matplotlib.plot () to support "picker" can not make better use of the characteristics of mplfinance.
Now the question is:
How to use the advantages of mplfinance in drawing financial charts and support "picker"?Can you give me an example?
This problem is replaced by a new one: #361