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

Make pythreejs a soft dependency #395

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Make pythreejs a soft dependency #395

merged 1 commit into from
Nov 29, 2024

Conversation

nvaytet
Copy link
Member

@nvaytet nvaytet commented Nov 29, 2024

When %matplotlib widget is enabled, an interactive figure is made and this imports widgets, and there is a top-level import of pythreejs in one of the widgets, thus making pythreejs a hard dependency.

We fix this here.

@SimonHeybrock
Copy link
Member

Will this allow for removing the (I think related) warning filters in our pyproject.tomls?

@nvaytet
Copy link
Member Author

nvaytet commented Nov 29, 2024

Will this allow for removing the (I think related) warning filters in our pyproject.tomls?

Possibly?

@nvaytet nvaytet merged commit 49d4490 into main Nov 29, 2024
4 checks passed
@nvaytet nvaytet deleted the make-p3js-soft-dep branch November 29, 2024 13:00
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.

3 participants