Ukrainian colors for matplotlib
Project description
UA colors for matplotlib
uastyle - is a light Python package that provides blue-yellow styling for matplotlib.
Install
Install uastyle using pip:
pip install uastyle
How to use
Explicit syntax
To use uastyle, import it and then call make_default_colors():
import uastyle
uastyle.make_default_colors()
colors = uastyle.colors
figsize = uastyle.M_width
Simplified syntax
You can also import apply_colors, colors, and M_width directly:
from uastyle import apply_colors, colors, M_width
Importing apply_colors will apply changes to the default matplotlib colors.
If you want to avoid the "PylintW0611: unused-import" error, you can import from apply_colors directly:
from uastyle.apply_colors import colors, M_width
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
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 uastyle-0.2.1.tar.gz.
File metadata
- Download URL: uastyle-0.2.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2284393a8c55d7305d2edf235634ec58d1e31069178bbece7d92b3dfa864672e
|
|
| MD5 |
9b70e6ad0c06ad1f0839333878b61d29
|
|
| BLAKE2b-256 |
508667f241a8e08d96c6bc55e678d833ae0d2e3951675c3cbe8931d0eb163ba3
|
File details
Details for the file uastyle-0.2.1-py3-none-any.whl.
File metadata
- Download URL: uastyle-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
783c5f195c0743cd2090673c0b23e87985dc711a1a9fced9761c6d4e541b01c3
|
|
| MD5 |
a521f7a423edc8e33a9b94ba1743f666
|
|
| BLAKE2b-256 |
14d39a1d669f1144ce403c81abacd55cecbf0533fa34312e4bbd2ee30e0bf25b
|