Click here to Skip to main content
15,915,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to add tooltip(hoverover) feature in mplfinance candlestick plot.

How could I do that? Please guide me, that will be great help!!

If this can be achieved with some other libraries please let me know.


What I have tried:

Here is my code and output : https://drive.google.com/file/d/1y6EX2dIYiLsn4nByG7vuXbmK6yWyyYWC/view?usp=sharing 
Posted
Updated 31-Oct-20 20:37pm

1 solution

Use from mpl_finance import candlestick_ohlc and matplotlib for annotations. Using Pandas, mpl_finance, matplotlib you can get candlestick chart with annotations (tooltips).

References:
Annotation: Data Visualization – Insights with Matplotlib[^]
CandleStick: Matplotlib Candlestick Chart in Python | Matplotlib Tutorial | Chapter 11-SaralGyaan[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900