Comments (1)
Interactivity depends on the "matplotlib backend" you use. Although it is called "backend" (from the point of view of matplotlib code) the term refers the the portion of code that renders on screen and relates to the user interface. Matplotlib (and by extension mplfinance) is designed to work with a number of different backends. Since interactivity is a property of the backend, it not trivial to code within mplfinance itself (since the code would have to behave differently depending on which backend the user is using).
If you use the standard matplotlib interface (that is run your mplfinance program as a python script not within jupyter notebook) you will automatically get zooming and panning. Hovering also gives details of points but will not necessarily give OHLC, and if show_nontrading=False (the default value) the the hover will show the row number in the dataframe as opposed to the date. Cross hairs can be coded as discussed here.
At some point I hope to code up an example (or someone else can volunteer to do it) showing how to implement a hover that displays OHLCV data for each candle, but (for reasons mentioned above) we do not plan to build such code into mplfinance.
For more information see also: https://matplotlib.org/stable/users/explain/figure/interactive.html
from mplfinance.
Related Issues (20)
- How do i get renko values without ploting the chart? HOT 2
- weird orange line appearing in axes' .plot() HOT 1
- Parabolic Sar and supertrend for renko
- Assist to draw Simple Moving Average. HOT 2
- I just don't know who to ask…. HOT 1
- mplfinance warn if user passes an empty data set. HOT 1
- Feature Request: The line width argument adding request for 'candlestick_ohlc' about the 'Wick/shadow' part(above/blow line) HOT 9
- Bug Report: marketcolors display error when open=close HOT 1
- Bug Report: Typo HOT 1
- How do I create a buy indicator using mplfinance? HOT 1
- Using with `matplotlib.testing.decorators.image_comparison` HOT 6
- PNF ATR Boxsize HOT 4
- Hollow and Filled Candles HOT 1
- Feature Request: Add SubFigures to Mpf_Figure HOT 2
- The example image of price-movement_plots.ipynb is inconsistent with the displayed result. HOT 3
- What is the most elegant way to implement ribbons? HOT 4
- Bug Report: legends on panels overlaps
- PnF Reversal Bug
- Bug Report: Errors occur for NaN columns.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mplfinance.