Add qoolqit.utils.colors with the Qoolqit palette and colormaps - #428
Open
alessandro-santini wants to merge 8 commits into
Open
Conversation
|
alessandro-santini
marked this pull request as ready for review
August 4, 2026 16:08
sgrava
reviewed
Aug 5, 2026
Co-authored-by: Stefano Grava <42062939+sgrava@users.noreply.github.com>
…-standard-brand-color-palette-to-matplotlib merging main to the branch
…-standard-brand-color-palette-to-matplotlib merge main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
qoolqit/utils/colors.py, defining the qoolqit palette (9 colors) and13 colormaps, and registering them with Matplotlib by name.
Purely additive: the import registers new names but never touches
rcParams, soexisting plots are unaffected, no Matplotlib built-in is overwritten.
Colors apply only where they are asked for explicitly.
Usage
What's registered
Colors:
metal_blue,neon_purple,mint_green,soft_orange,dark_green,neon_blue,soft_green,bright_green,neutral_gray.Colormaps:
<low>_<high>diverging (purple_mint,orange_mint,purple_orange,blue_mint, each with a_darknear-black-center variant)and
<hue>sequential (mint,purple,orange,deep,night), plusevery
_rreverse — 26 in total.Palette
dark_green#0F1E23neon_blue#92C8E5soft_green#173035neon_purple#867BFAbright_green#E1F6E9soft_orange#FF986Emint_green#00C887neutral_gray#506166metal_blue#397378