Skip to main content

Fan Chart Implementation

Project description

fanchart: Fan Charts Implementation

PyPI version fury.io

PyPI license

Fan charts Python implementation.

The term fan chart was coined by the Bank of England, which has been using these charts to illustrate its forecasts for inflation since 1996.

The BoE introduced the fan charts aiming to communicate a more accurate representation of their forecast for medium term inflation. In particular, the charts have two key objectives:

  • To convey the uncertainty in their forecasts. This is, to focus attention on the forecast distribution, rather than only on small changes to the central projection.
  • To promote discussion of the risks to the economic outlook, and thus contribute to a wider debate about economic policy. Fan charts help to make it clear that monetary policy is about making decisions instead of knowing the exact rate of inflation in two years time.

For more details on the history of fan charts visit Fan Charts

This library provides two main functions

Function Parameters
fan _single loc, sigma, gamma, probs, kind, color
fan pars, probs, historic, color
  • The fan function illustrates the distribution of all the forecasts available; and it has the option to display the historical values for reference.

  • The fan_single function illustrates the pdf/cdf of one forecast distribution

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fanchart-1.0.2.tar.gz (8.7 kB view hashes)

Uploaded source

Built Distribution

fanchart-1.0.2-py3-none-any.whl (8.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page