Skip to main content

UA colors for matplotlib

Project description

UA colors for matplotlib

Pypi Python 3.7+ License

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


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)

Uploaded Source

Built Distribution

uastyle-0.1.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page