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
Available flag color schemes:
- Philadelphia pride flag
- Rainbow flag
- Trans flag
- Bisexual flag
- Lesbian flag
- Asexual flag
- Aromantic flag
- Pan flag
- Set color cycle as plotly default color cycle:
set_pride_template(flag="philadelphia")
- Get a list of discrete colors (for use in either matplotlib or plotly):
colors=pride_colors_plotly(flag="rainbow")
- Get a continuous colorscale for use in plotly:
colorscale=pride_colors_plotly(flag='trans',continuous_colorscale=True)
- Get a matplotlib colormap:
cmap=pride_colors_matplotlib(flag='bi')
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.
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.
This project is licensed under the terms of the GNU GPL v3.0
license. See LICENSE for more details.
@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}}
}
This project was generated with python-package-template