Skip to main content

Can cycle through combination of colors and line or marker styles

Project description

doc License: GPL v3

Status

push-pypi push-doc

maintained issues pr

Compatibilities

ubuntu unix

python

Contact

linkedin website mail

Color and Style Cycler

Colors and style cycler

Can cycle through combination of colors and line or marker styles. Colors will be computed from a color gradient, depending on the number of lines to plot, which is given as an argument at object creation, and the number of styles. By default, styles are supposed to be linestyles. This can be changed to marker with the 'style' argument.

Installation

pip install colorstylecycler

Usage

    
# noinspection PyUnresolvedReferences
from matplotlib import pyplot as plt
from colorstylecycler import Cycler
number_of_curves = 15
cy = Cycler(ncurves=number_of_curves)
plt.rc('axes', prop_cycle=cy.cycler)

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

colorstylecycler-0.1.22.tar.gz (35.9 kB view details)

Uploaded Source

File details

Details for the file colorstylecycler-0.1.22.tar.gz.

File metadata

  • Download URL: colorstylecycler-0.1.22.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for colorstylecycler-0.1.22.tar.gz
Algorithm Hash digest
SHA256 33fea1f56d3d4b4df9d57baa92f837e33e3331d2486616b06834a53057f12bc3
MD5 b11c393d1d0d15b0f2b192405e77bac3
BLAKE2b-256 a1bc199cacd03bbf80af177834e3f6633291ab5e684ee31e1df87110351d0599

See more details on using hashes here.

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