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

Remove animation from spectral clustering example to improve performance #7328

Merged
merged 2 commits into from Mar 6, 2024

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Mar 3, 2024

Closes #7235

Removes 3D animation from the image segmentation via spectral clustering gallery example, reducing the runtime by more than 100x so that it is no longer a bottleneck in the doc build (either locally or in CI).

Adds xrefs to the other 3D drawing examples so that users have a recipe for creating animations.

* Add xref to 3D examples to illustrate how to animate 3D viz.
* Vastly improves (>100x) example runtime.
@jarrodmillman jarrodmillman merged commit 91337d5 into networkx:main Mar 6, 2024
41 checks passed
@jarrodmillman jarrodmillman added this to the 3.3 milestone Mar 6, 2024
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
…nce (networkx#7328)

* Rm 3d animation from spectral clustering example.

* Add xref to 3D examples to illustrate how to animate 3D viz.
* Vastly improves (>100x) example runtime.

* Add sphinx-gallery config to allow xrefs.
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.

Gallery: spectral graph partition very slow
2 participants