← 返回首页
Adds kwargs so user can customize vector field estimates by apasarkar · Pull Request #1036 · fastplotlib/fastplotlib · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

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

Copy link
Copy Markdown
Collaborator

No description provided.

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.

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 Show resolved Hide resolved
Comment thread fastplotlib/widgets/nd_widget/_nd_vectors.py Outdated Show resolved Hide resolved
kushalkolar merged commit b7c15de into ndwidget Apr 16, 2026
kushalkolar deleted the kwarg_ndvec branch April 16, 2026 19:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.