Changelog
py-ggsci 1.3.0
Improvements
- Synchronized iTerm color palettes with upstream (#56).
This update added 36 new palettes to ITERM_PALETTES:
Aizen variations, Cursor Light, Dalton Dark, Dogxi Misty,
Kanagawa Lotus, Kanso variations, Modus variations, Monospace variations,
Onenord variations, Pierre variations, SeedFlip variations,
and Sunset Drive. These palettes are now usable by pal_iterm(),
scale_color_iterm(), and scale_fill_iterm().
Additionally, the color values for Cursor Dark have been updated to match the latest upstream color specifications, and the Builtin Solarized Dark and Light palettes have been removed.
py-ggsci 1.2.1
Documentation
- Migrated documentation site to use Zensical (#49, #52).
Maintenance
- Added exclusion rules to the hatchling build configuration to reduce the file size of built source distributions and wheels (#53).
py-ggsci 1.2.0
Improvements
- Synchronized iTerm color palettes with upstream (#47).
This update added 8 new palettes to ITERM_PALETTES:
branch, No Clown Fiesta variations, novmbr, One Dark Two, owl, traffic,
and urban. These palettes are now usable by pal_iterm(),
scale_color_iterm(), and scale_fill_iterm().
py-ggsci 1.1.1
Maintenance
- Added GitHub Actions workflow to run
ruff checkfor code linting (#43). - Updated GitHub Actions workflows to use
actions/checkout@v6(#43). - Updated badges in
README.md(#43).
py-ggsci 1.1.0
Improvements
- Synchronized iTerm color palettes with upstream (#39).
This update added 8 new palettes to ITERM_PALETTES:
Hot Dog Stand variations, Matte Black, Poimandres variations,
and Selenized Black. These palettes are now usable by pal_iterm(),
scale_color_iterm(), and scale_fill_iterm().
Additionally, the color values for 40+ existing iTerm palettes have been updated to match the latest upstream color specifications.
py-ggsci 1.0.2
Linting
- Added ruff linter configuration to
pyproject.tomlwith popular rule sets including pycodestyle, Pyflakes, pyupgrade, flake8-bugbear, flake8-simplify, and isort (#36). - Fixed
ruff checklinting issues including UP006, UP015, UP032, B010, SIM108, SIM118, F401, and E501 (#36).
py-ggsci 1.0.1
Maintenance
- Added Python 3.14 support and set as default development environment (#33).
- Updated GitHub Actions workflows to use the latest
checkoutandsetup-pythonversions (#33).
py-ggsci 1.0.0
New features
- Added
scale_color_primer()andscale_fill_primer()for the Primer (GitHub) design system palette (#29). - Added
scale_color_atlassian()andscale_fill_atlassian()for the Atlassian Design System palette (#29). - Added
scale_color_iterm()andscale_fill_iterm(), providing over 400 new iTerm color palettes (#30).
Improvements
- Introduced
example_scatterplot()andexample_barplot()to simplify documentation examples, reducing boilerplate and aligning the visual style with the R ggsci package examples (#28).
Maintenance
- Refactored the logo generation script to use ImageMagick, removing the previous R and hexSticker dependency (#20).
py-ggsci 0.4.1
Documentation
- Add an initial code block to the Get Started article showing the essential imports required for the example plots (#17).
py-ggsci 0.4.0
Testing
- Add a parametrized, introspection-driven test suite covering utilities, palettes, and scales. Code coverage reaches 100% (#14).
py-ggsci 0.3.0
Improvements
- Refine type annotations and docstrings to follow best practices (#9).
Documentation
- Add a Get Started article mirroring the original R package vignette (#11).
CI/CD
- Add GitHub Actions workflow for mypy type checks (#10).
py-ggsci 0.2.0
New features
- Port all color scales from the R package ggsci (#5).
Improvements
- Relax minimum dependency versions to broaden compatibility (#3).
- Rename palette functions from
*_pal()topal_*()for consistency with the R package ggsci (#4).
Documentation
- Add an API reference page for each palette to the documentation site (#6).
Infrastructure
- Add scripts to retrieve and update color palette data (#2).
py-ggsci 0.1.0
New features
- Port four experimental color scales for plotnine from the R package ggsci.
- Add palette functions for direct color access.
- Support alpha transparency for all scales.
- Reverse parameter for continuous scales.
- British spelling aliases.