Skip to content

Use a supported shape in the BeautifyIcon example - #2297

Open
ac1982 wants to merge 1 commit into
python-visualization:mainfrom
ac1982:docs/beautify-supported-shapes
Open

ac1982 wants to merge 1 commit into
python-visualization:mainfrom
ac1982:docs/beautify-supported-shapes

Conversation

@ac1982

@ac1982 ac1982 commented Oct 14, 2026

Copy link
Copy Markdown

Fixes #1948.

The example passes icon_shape="triangle", which is absent from BeautifyMarker's anchor tables and Folium's supported shape list. The missing popup anchor makes clicking the plane throw a JavaScript error. Use circle and list the supported shapes in the guide and docstring.

Verified the original example fails on click, then both popups open without JavaScript errors after this change in Chromium, Firefox and WebKit. The existing Beautify notebook Selenium test passes. Pre-commit passes; documentation builds with one existing toctree warning. Broader checks: 383 regular tests passed with two failures reproduced on the base; Selenium/snapshots had 82 passed, one xfailed and one heatmap screenshot difference also reproduced on the base.

AI assistance was used to investigate, edit and validate this change.

This branch has not been deployed

No deployments
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.

No popup when clicking on specific icons (BeautifyIcon plugin)

1 participant