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

use dependency state in export #731

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

knaaptime
Copy link
Contributor

resolves #726 again

@kylebarron
Copy link
Member

It looks like this is documented here:

In all embedding functions in ipywidgets.embed, the state of all widgets known to the widget manager is included by default. You can alternatively pass a reduced state to use instead. This can be particularly relevant if you have many independent widgets with a large state, but only want to include the relevant ones in your export. To include only the state of specific views and their dependencies, use the function dependency_state

@kylebarron kylebarron merged commit 6cec0fa into developmentseed:main Jan 16, 2025
5 checks passed
@kylebarron
Copy link
Member

Thanks!

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.

2 participants