Skip to content

Adds kwargs so user can customize vector field estimates#1036

Merged
kushalkolar merged 3 commits into
ndwidgetfrom
kwarg_ndvec
Apr 16, 2026
Merged

Adds kwargs so user can customize vector field estimates#1036
kushalkolar merged 3 commits into
ndwidgetfrom
kwarg_ndvec

Conversation

@apasarkar

Copy link
Copy Markdown
Collaborator

No description provided.

@kushalkolar

Copy link
Copy Markdown
Member

For the ndgraphic, have an explicitly kwarg "graphic_kwargs" and store that. See how the graphic kwargs are handled for ndimage and positions. When the graphic gets re-created if the data is re-set, it uses the original kwargs.
In the add_nd_vectors helper method you can have size as a kwarg and put that in the dict along with any other graphic kwargs when you parse.

@apasarkar

Copy link
Copy Markdown
Collaborator Author

Sweet thanks, made the fixes to mirror what ndpositions does, lmkwyt

Comment thread fastplotlib/widgets/nd_widget/_nd_vectors.py Outdated
Comment thread fastplotlib/widgets/nd_widget/_nd_vectors.py Outdated
@kushalkolar kushalkolar merged commit b7c15de into ndwidget Apr 16, 2026
@kushalkolar kushalkolar deleted the kwarg_ndvec branch April 16, 2026 19:49
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