Skip to content

Make DivIcon and CustomIcon work with the new Marker approach - #2132

Merged
ocefpaf merged 4 commits into
python-visualization:mainfrom
hansthen:divicon-customicon-remove-seticon
Apr 22, 2025
Merged

Make DivIcon and CustomIcon work with the new Marker approach#2132
ocefpaf merged 4 commits into
python-visualization:mainfrom
hansthen:divicon-customicon-remove-seticon

Conversation

@hansthen

@hansthenhansthen commented Apr 13, 2025

Copy link
Copy Markdown
Collaborator

This is a continuation of the PR by @Conengmo.

To make the PR more robust against uses from other flows (like add_child and add_to), we check the ways that we can add children and catch setting the icon there.

The tests for this are included in the playwright_tests branch, for which there is another PR open.

@hansthen
hansthen requested a review from ConengmoApril 13, 2025 19:29
@hansthenhansthen linked an issue Apr 18, 2025 that may be closed by this pull request
@hansthen

Copy link
Copy Markdown
CollaboratorAuthor

Closes #2039

@hansthenhansthen changed the title Divicon customicon remove seticonMake DivIcon and CustomIcon work with the new Marker approachApr 18, 2025
@hansthen
hansthen requested a review from ocefpafApril 19, 2025 05:31
@hansthen

Copy link
Copy Markdown
CollaboratorAuthor

@ocefpaf can you have a look?

@ocefpaf
ocefpaf merged commit d1df1c2 into python-visualization:mainApr 22, 2025
@ocefpaf

Copy link
Copy Markdown
Member

Nice one!

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

Labels

None yet

Projects

None yet

3 participants

@hansthen@ocefpaf@Conengmo