Skip to main content

Formats Matplotlib plots into the style of The Economist

Project description

Description

This project helps create Matplotlib plots in the style of The Economist. Only some plot styles are supported (line plots are the only style that works right now) and there are some stylistic differences from The Economist for the sake of convenience/laziness.

Users Guide

  • Install fonts (see below) before using any functions.
  • The main function you will use is converter.convert2Econo(), which takes a Matplotlib Axes and returns and Axes that is formatted nicely.
    • First generate a Matplotlib Axes in any way you like, then pass it into convert2Econo()-- then presto you have an Econoplot!

How to install fonts

  • Copy .ttf file here: "~\.local\share\fonts"
  • Delete the matplotlib cache here (it will automatically be recreated): "~\.cache\matplotlib"

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

econoplots-0.1.3.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

econoplots-0.1.3-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file econoplots-0.1.3.tar.gz.

File metadata

  • Download URL: econoplots-0.1.3.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for econoplots-0.1.3.tar.gz
Algorithm Hash digest
SHA256 113413e2790faedd2bd54c463c9bf48971986f92821e2865f9c1cab6b1f31c3c
MD5 5dd8d9c1d51b1102b0c7018fb2aeb27d
BLAKE2b-256 f27ad97f2ba8f07daa302b8a39e661cde980d60853232f9661d21d70de9d8c05

See more details on using hashes here.

File details

Details for the file econoplots-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: econoplots-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for econoplots-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e5c50d7dcd0074bbb5af3ee7c1d6966b0dcfd369c2171af48d55480f27e2946
MD5 1eb33bcf06a4e52de1720d53187d0292
BLAKE2b-256 6bf4a640dcfa3856377d2eac50e9abc52f2a763444ed176d560df7539c51a8dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page