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 MatplotlibAxesand returns andAxesthat is formatted nicely.- First generate a Matplotlib
Axesin any way you like, then pass it intoconvert2Econo()-- then presto you have an Econoplot!
- First generate a Matplotlib
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file econoplots-0.2.1.tar.gz.
File metadata
- Download URL: econoplots-0.2.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81e873e91065673ec887cb65da5cc0be878a606cc086c62c119d1ade9e374e70
|
|
| MD5 |
d0eb75f4d09a686b5511b787c0dd9df8
|
|
| BLAKE2b-256 |
7d6846a2c49128744637bde909694a2c5a9ed7eb19ead282e5ec9ec1ec12effa
|
File details
Details for the file econoplots-0.2.1-py3-none-any.whl.
File metadata
- Download URL: econoplots-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6a7165f478b268bf5b47fcd1126a2b8c333cb29083606e3ea7d09439f2e4e3b
|
|
| MD5 |
e5f8950968072e31fb969c4e5ec79f50
|
|
| BLAKE2b-256 |
3e624137f5cdca02e8e25a73223b04dde9abe09c751a4c9ac731acee0cbe16dd
|