grass.jupyter: Add legend support to InteractiveMap (#5468)#7072
Open
saurabh12nxf wants to merge 5 commits intoOSGeo:mainfrom
Open
grass.jupyter: Add legend support to InteractiveMap (#5468)#7072saurabh12nxf wants to merge 5 commits intoOSGeo:mainfrom
saurabh12nxf wants to merge 5 commits intoOSGeo:mainfrom
Conversation
1f252e8 to
72fe5a9
Compare
| ) | ||
| self.map.add(legend_control) | ||
|
|
||
|
|
Contributor
There was a problem hiding this comment.
[ruff] reported by reviewdog 🐶
Suggested change
Contributor
|
Please include one or more screenshots, thank you. |
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.
Added raster legend support to
grass.jupyter.InteractiveMapas requested in #5468.Changes
Usage
Note : Tested parse_colors() with r.colors.out (elevation, landclass96), verified HTML generation and legend attachment logic for both backends; full end-to-end testing not possible locally due to ReprojectionRenderer initialization issues in WSL/OSGeo4W (unrelated to legend code); requesting CI validation for complete integration testing.