a module to beautify your python plot or terminal text.
Project description
INTRODUCTION
pymeili.為美麗而生 [remake edition]
pymeili is a module to beautify your python plot or terminal text with more simple way. the design idea is from Navigraph aeronautical chart.
IMPORTANT
If you encounter the FileNotFound error when using this module, you need to manually install font-packages: https://dwl.freefontsfamily.com/download/futura/;
moving the font file to installed module folder, for instance: C:\Users\Username\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymeili\resources
If you encounter the ModuleNotFoundError when using this module, you need to manually install the module in the lastest version:
pip install matplotlib
pip install numpy
pip install seaborn
pip install pathlib
pip install pathlib2
pip install metpy
pip install cartopy
pip install basemap
Also, some modules do not support the previous version of python, make sure you are using the version 3.7 or above.
USAGE
Beautify Your Plot
First of all, you need to import the package:
from pymeili import beautifyplot as bplt
Then, you can use the function beautifyplot to beautify your plot. Unlike matplotlib.pyplot, you don't need to create a figure and axes object. When you begin to plot, set the figsize to initialize your canvas by using initplot function. For instance:
CHANGE LOG
1.0.01 (01/02/2024)
- First Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pymeili-1.0.1.tar.gz.
File metadata
- Download URL: pymeili-1.0.1.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c2e6519ca671484c3e0f357cc2b33fa91376daf4800ec4cea038f58743086b6
|
|
| MD5 |
35296b4d1588350edd1747ac79e6c45f
|
|
| BLAKE2b-256 |
67d3b2779063958b36418826ecff9e9cbb57223f40c988ee14fca241fe34e669
|