Skip to content

Document blend palette input and colormap return type - #4047

Open
linzch3 wants to merge 1 commit into
mwaskom:masterfrom
linzch3:fix/documentation-blend-palette
Open

linzch3 wants to merge 1 commit into
mwaskom:masterfrom
linzch3:fix/documentation-blend-palette

Conversation

@linzch3

@linzch3 linzch3 commented Nov 23, 2026

Copy link
Copy Markdown

blend_palette(..., as_cmap=True) returns a LinearSegmentedColormap, but the docstring currently says ListedColormap. This corrects both mentions and documents the existing input option and its four supported color spaces.

Checked all four input modes against the implementation and ran pytest tests/test_palettes.py: 38 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant