mplfinance 0.12.9b7


Utilities for the visualization, and visual analysis, of financial data

Utilities for the visualization, and visual analysis, of financial data

Stars: 2488, Watchers: 2488, Forks: 520, Open Issues: 119

The matplotlib/mplfinance repo was created 3 years ago and was last updated 8 hours ago.
The project is very popular with an impressive 2488 github stars!

How to Install mplfinance

You can install mplfinance using pip

pip install mplfinance

or add it to a project with poetry

poetry add mplfinance

Package Details

MPL Developers
GitHub Repo


  • Office/Business/Financial
  • Office/Business/Financial/Investment
  • Scientific/Engineering/Information Analysis
  • Scientific/Engineering/Visualization
No  mplfinance  pypi packages just yet.


A list of common mplfinance errors.

Code Examples

Here are some mplfinance code examples and snippets.

GitHub Issues

The mplfinance package has 119 open issues on GitHub

  • mplfinance savefig MemoryError
  • One Y axis on panel with multiple studies?
  • How do you remove the blurriness?
  • how to save renko chart data to pandas csv?
  • Adding pie chart via external axes method
  • Feature Request: Add ability to add rectangles representing price range in mplfinance
  • running out of memory on loop image generation
  • How can I remove y axis ticker
  • Feature Request: Multiple time frame plot
  • add scatter points to renko plot
  • alines on addplots
  • Live Graphs with notifications..
  • Unable to prevent plot from initial display
  • Add xlabel= kwarg to mpf.plot()
  • SL and TP line

See more issues on GitHub

Related Packages & Articles

tensortrade 1.0.3

TensorTrade: A reinforcement learning library for training, evaluating, and deploying robust trading agents.

pyfolio 0.9.2

pyfolio is a Python library for performance and risk analysis of financial portfolios

Use pandas and matplotlib to produce a chart of natural gas prices

In this example Python code, we use requests to fetch data from the website and json from the Python standard library to parse the json data. Next, we load the daily prices into a Pandas DataFrame and format the date column and set it as the index. Finally, we use Pandas .plot() to create a chart saving it as a png image.

akshare 1.8.44

AKShare is an elegant and simple financial data interface library for Python, built for human beings!