feat: Save/load categorical palettes via URL #190
Merged
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.
Problem
Closes #148! This is the last implementation detail for categorical features!
Solution
"palette-key=adobe"
)."?palette=000000-000010-000020-000030-000040-000050-000060-000070-000080-000090-0000a0-0000b0"
).Note: I would have loved to shorten the URLs further, so I made a separate issue ticket for that: #191
Type of change
Steps to Verify:
Example:

https://allen-cell-animated.github.io/nucmorph-colorizer/pr-preview/pr-190/?dataset=https%3A%2F%2Fdev-aics-dtp-001.int.allencell.org%2Fdan-data%2Fcolorizer%2Fdata%2Ftest%2F3500005828_25%2Fmanifest.json&feature=Cell%20type&t=78&color=matplotlib-cool&palette=eacb70-9a65dc-e75c5c-ffffa4-3a6cac-5d5d6a-bd5d26-ed1b7d-9467bd-f25fa4-7598c5-a8d9aa