Skip to main content

pride_colors_plotly

Build status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit Semantic Versions License Coverage Report

PlotLY and matplotlib pride flag color maps and templates to make your plots proud :)

Installation

pip install -U pride_colors_plotly

or install with Poetry

poetry add pride_colors_plotly

Then you can run

pride_colors_plotly --help

or with Poetry:

poetry run pride_colors_plotly --help

About

Available flag color schemes:

  • Philadelphia pride flag
Philadelphia pride flag
  • Rainbow flag
Rainbow flag
  • Trans flag
Trans flag
  • Bisexual flag
Bi flag
  • Lesbian flag
Lesbian flag
  • Asexual flag
Asexual flag
  • Aromantic flag
Aromantic flag
  • Pan flag
Pan flag

Usage

  1. Set color cycle as plotly default color cycle:

set_pride_template(flag="philadelphia")

  1. Get a list of discrete colors (for use in either matplotlib or plotly):

colors=pride_colors_plotly(flag="rainbow")

  1. Get a continuous colorscale for use in plotly:

colorscale=pride_colors_plotly(flag='trans',continuous_colorscale=True)

  1. Get a matplotlib colormap:

cmap=pride_colors_matplotlib(flag='bi')

📈 Releases

You can see the list of available releases on the GitHub Releases page.

We follow Semantic Versions specification.

We use Release Drafter. As pull requests are merged, a draft release is kept up-to-date listing the changes, ready to publish when you’re ready. With the categories option, you can categorize pull requests in release notes using labels.

List of labels and corresponding titles

Label Title in Releases
enhancement, feature 🚀 Features
bug, refactoring, bugfix, fix 🔧 Fixes & Refactoring
build, ci, testing 📦 Build System & CI/CD
breaking 💥 Breaking Changes
documentation 📝 Documentation
dependencies ⬆️ Dependencies updates

You can update it in release-drafter.yml.

GitHub creates the bug, enhancement, and documentation labels for you. Dependabot creates the dependencies label. Create the remaining labels on the Issues tab of your GitHub repository, when you need them.

🛡 License

License

This project is licensed under the terms of the GNU GPL v3.0 license. See LICENSE for more details.

📃 Citation

@misc{pride_colors_plotly,
author = {E. Lastufka},
  title = {PlotLY and matplotlib pride flag color maps and templates to make your plots proud :)},
  year = {2022},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/pride_colors_plotly/pride_colors_plotly}}
}

Credits 🚀 Your next Python package needs a bleeding-edge project structure.

This project was generated with python-package-template

Metadata

Release files for pride-colors-plotly 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pride-colors-plotly 0.1.0
File Size Uploaded Provenance Actions
pride_colors_plotly-0.1.0.tar.gz 17.9 kB Without provenance Details for pride_colors_plotly-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pride-colors-plotly 0.1.0
File Interpreter ABI Platform Actions
pride_colors_plotly-0.1.0-py3-none-any.whl Python 3 none any Details for pride_colors_plotly-0.1.0-py3-none-any.whl

Total release size: 35.0 kB

Release files / pride_colors_plotly-0.1.0.tar.gz

Download URL pride_colors_plotly-0.1.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7f939d7e78dfe2abfe2b09e5179a4983a32a81e3a5c194382084d22a5c7208ce
BLAKE2b-256 checksum
How to use checksums
fac8d3d1476e59c668c5773d966736cd512427b21bd7b99d46f4bda13cc8c71c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.7.8 Darwin/19.6.0

Release files / pride_colors_plotly-0.1.0-py3-none-any.whl

Download URL pride_colors_plotly-0.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af854a754d7e68c3ba447e3268b5f2077f2495021ac7e966864e20893a5ea13d
BLAKE2b-256 checksum
How to use checksums
5de1e6f9c5615b852b3bca6d4cda791d1f45640994d8570f980464d601caae5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.7.8 Darwin/19.6.0

Security for pride-colors-plotly 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page