animation.md
December 23, 2022 · View on GitHub
Animation Support in mplfinance
- Real-time updates to mplfinance plots are accomplished through the technique known as "animation"
mplfinanceanimation requires the use ofmplfinanceExternal Axes Mode- External Axes Mode allows mplfinance users to create and manage their own Figure and Axes (SubPlots), and pass Axes objects into mplfinance. This also gives users access to matplotlib's animation features.
- It can be tricky to display animations properly in jupyter notebooks,
therefore, to keep things simple, the mplfinance animation examples are scripts. - To run the animation examples, clone this repository, then
cdinto themplfinance/examplesfolder, and run: - NOTE: There are comments, in each of the above example files, that explain what's going on and how to use animation with mplfinance. You can view the code by clicking each of the above links.