Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/advestis/colorstylecycler
Can cycle through combination of colors and line or marker styles.
https://github.com/advestis/colorstylecycler
Last synced: about 2 months ago
JSON representation
Can cycle through combination of colors and line or marker styles.
- Host: GitHub
- URL: https://github.com/advestis/colorstylecycler
- Owner: Advestis
- License: gpl-3.0
- Created: 2020-10-16T14:42:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T08:58:12.000Z (over 2 years ago)
- Last Synced: 2024-11-11T13:23:30.108Z (2 months ago)
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![doc](https://img.shields.io/badge/-Documentation-blue)](https://advestis.github.io/colorstylecycler)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)#### Status
[![push-pypi](https://github.com/Advestis/colorstylecycler/actions/workflows/push-pypi.yml/badge.svg)](https://github.com/Advestis/colorstylecycler/actions/workflows/push-pypi.yml)
[![push-doc](https://github.com/Advestis/colorstylecycler/actions/workflows/push-doc.yml/badge.svg)](https://github.com/Advestis/colorstylecycler/actions/workflows/push-doc.yml)![maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)
![issues](https://img.shields.io/github/issues/Advestis/colorstylecycler.svg)
![pr](https://img.shields.io/github/issues-pr/Advestis/colorstylecycler.svg)#### Compatibilities
![ubuntu](https://img.shields.io/badge/Ubuntu-supported--tested-success)
![unix](https://img.shields.io/badge/Other%20Unix-supported--untested-yellow)![python](https://img.shields.io/pypi/pyversions/colorstylecycler)
##### Contact
[![linkedin](https://img.shields.io/badge/LinkedIn-Advestis-blue)](https://www.linkedin.com/company/advestis/)
[![website](https://img.shields.io/badge/website-Advestis.com-blue)](https://www.advestis.com/)
[![mail](https://img.shields.io/badge/mail-maintainers-blue)](mailto:[email protected])# 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
```python
# 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)
```