UA 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
uastyle-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file uastyle-0.1.0.tar.gz
.
File metadata
- Download URL: uastyle-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8605cd3e818c0eebc375f04f6ebd89cb6cddffed58e5861b55cc9448b2a969c |
|
MD5 | a3368428a2b886acfc08b199736fa837 |
|
BLAKE2b-256 | b9ad2f9b7ef01a64af7b2cf72d70bec46255e2e0a160393e53f6a56c164372e0 |
File details
Details for the file uastyle-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: uastyle-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 471d6fa14c08bf0670582ad255aa7af500fb76f66671654b8a5d92274d173665 |
|
MD5 | ca108f3d29b0cb494094db6514618520 |
|
BLAKE2b-256 | 0178c49cc15ef6b9f3cbc4802f1100de7b524f3d4680cf6e0a66f0c728936eb7 |