docs: update ImageOverlay with local file example by Conengmo · Pull Request #2111 · python-visualization/folium

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@Conengmo

Copy link Copy Markdown

Member

@Conengmo Conengmo commented

Mar 15, 2025

edited

Loading

Closes #2094

Update the ImageOverlay example in the docs that shows how to use a local file. The previous example file is no longer included after the docs overhaul. This example breaking was not spotted because the code there is robust to the file not existing.

  • Use another image that exists in the docs static files: the Folium logo. Easy and for the example it doesn't really matter I think.
  • Make it raise an error if the file not exists. That way we will be notified if this example breaks in the future.

Screenshot

Capture

@hansthen hansthen merged commit 661fc9f into python-visualization:main

Mar 16, 2025

11 checks passed

@Conengmo Conengmo deleted the docs-image-url branch

March 16, 2025 21:25

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

User guide ImageOverlay example is missing the image file

2 participants

@Conengmo @hansthen