Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 1.62 KB

animation.md

File metadata and controls

12 lines (11 loc) · 1.62 KB

Animation Support in mplfinance

  • Real-time updates to mplfinance plots are accomplished through the technique known as "animation"
  • mplfinance animation requires the use of mplfinance External 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 cd into the mplfinance/examples folder, 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.