Skip to content
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

Try/except intermittently failing basemaps in geospatial examples #7324

Merged
merged 4 commits into from Mar 4, 2024

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Mar 1, 2024

I unfortunately missed one of the instances of contextily.add_basemap in #7299 which is also not intermittently failing on CI. This PR disables plot_points in the gallery. I'll update #7301 so that it's clear that #7299 and this PR need to be reverted when the underlying contextily issue is solved.


Update

I just went ahead and wrapped the instances of contextily.add_basemap in try/excepts in all examples. That way we don't have to keep tracking CI issues.

Reverts #7299 and closes #7301

Revert this when contextily basemap issue is improved.
@rossbar rossbar changed the title Temporarily make poinst geospatial example non-executable. Try/except intermittently failing basemaps in geospatial examples Mar 3, 2024
Copy link
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a better (low maintenance) approach. :)
And Looks good to me!

@dschult dschult merged commit 8fe7f49 into networkx:main Mar 4, 2024
41 checks passed
@jarrodmillman jarrodmillman added this to the 3.3 milestone Mar 4, 2024
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
…tworkx#7324)

* Temporarily make poinst geospatial example non-executable.

Revert this when contextily basemap issue is improved.

* Revert "Temporarily rm geospatial examples to fix CI. (networkx#7299)"

This reverts commit fce5d7d.

* Revert "Temporarily make poinst geospatial example non-executable."

This reverts commit 02927e3.

* Try/except add_basemap in geospatial examples.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

contextily.add_basemap failing in some geospatial gallery examples
3 participants