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 hashes)