Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

hansthen
Copy link
Collaborator

@hansthen hansthen commented Apr 13, 2025

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 Conengmo April 13, 2025 19:29
@hansthen hansthen linked an issue Apr 18, 2025 that may be closed by this pull request
@hansthen
Copy link
Collaborator Author

Closes #2039

@hansthen hansthen changed the title Divicon customicon remove seticon Make DivIcon and CustomIcon work with the new Marker approach Apr 18, 2025
@hansthen hansthen requested a review from ocefpaf April 19, 2025 05:31
@hansthen
Copy link
Collaborator Author

@ocefpaf can you have a look?

@ocefpaf ocefpaf merged commit d1df1c2 into python-visualization:main Apr 22, 2025
13 checks passed
@ocefpaf
Copy link
Member

ocefpaf commented Apr 22, 2025

Nice one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants