-
Notifications
You must be signed in to change notification settings - Fork 66
VectorsGraphic #929
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
Merged
+1,192
−14
Merged
VectorsGraphic #929
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
2828f48
start vector fields
kushalkolar c439fd9
basics of vector field works
kushalkolar d10d08f
add vector field to api docs
kushalkolar 6858fd6
update event tables
kushalkolar 178ce12
add vector field to subsection_order
kushalkolar c336b16
update vector field, almost there
kushalkolar f205473
vector field done and working
kushalkolar 0b98075
cleanup
kushalkolar f51a17b
update docstring
kushalkolar 7df8a9f
update
kushalkolar 868ede4
Merge branch 'main' into vector-field
kushalkolar bec43aa
black
kushalkolar 6b54967
black
kushalkolar d5792bf
update
kushalkolar 3820bfc
update .gitignore
kushalkolar 085b3cb
Merge branch 'main' into vector-field
kushalkolar 7c56b8c
restore stuff in .gitignore
kushalkolar 049f3c5
test examples
kushalkolar 1f29bca
update min pygfx version
kushalkolar 1e8e640
ome zarr being annoying
kushalkolar 82ee16a
remove multi-channel from screenshot tests, only show code in nb
kushalkolar 8e269e0
don't run multi channel example
kushalkolar bf34866
rename to VectorsGraphic since we will use field for something else
kushalkolar b1f23bc
interactive electric field example
kushalkolar 3f43786
update name
kushalkolar 1d6ea48
black
kushalkolar 8769dce
update name
kushalkolar 33e8fae
wrong sign, now correct
kushalkolar b801e7f
update api docs
kushalkolar da752af
Apply suggestion from @clewis7
kushalkolar cfecfa3
fix render order and blending, add comment
kushalkolar 675ec0b
rename
kushalkolar 7b82f97
docstrings, comments
kushalkolar 6ea00e6
checks
kushalkolar e33f8f7
clarify example
kushalkolar e5d0488
cleanup
kushalkolar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| .. _api.VectorDirections: | ||
|
|
||
| VectorDirections | ||
| **************** | ||
|
|
||
| ================ | ||
| VectorDirections | ||
| ================ | ||
| .. currentmodule:: fastplotlib.graphics.features | ||
|
|
||
| Constructor | ||
| ~~~~~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorDirections_api | ||
|
|
||
| VectorDirections | ||
|
|
||
| Properties | ||
| ~~~~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorDirections_api | ||
|
|
||
| VectorDirections.value | ||
|
|
||
| Methods | ||
| ~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorDirections_api | ||
|
|
||
| VectorDirections.add_event_handler | ||
| VectorDirections.block_events | ||
| VectorDirections.clear_event_handlers | ||
| VectorDirections.remove_event_handler | ||
| VectorDirections.set_value | ||
|
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| .. _api.VectorPositions: | ||
|
|
||
| VectorPositions | ||
| *************** | ||
|
|
||
| =============== | ||
| VectorPositions | ||
| =============== | ||
| .. currentmodule:: fastplotlib.graphics.features | ||
|
|
||
| Constructor | ||
| ~~~~~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorPositions_api | ||
|
|
||
| VectorPositions | ||
|
|
||
| Properties | ||
| ~~~~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorPositions_api | ||
|
|
||
| VectorPositions.value | ||
|
|
||
| Methods | ||
| ~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorPositions_api | ||
|
|
||
| VectorPositions.add_event_handler | ||
| VectorPositions.block_events | ||
| VectorPositions.clear_event_handlers | ||
| VectorPositions.remove_event_handler | ||
| VectorPositions.set_value | ||
|
|
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| .. _api.VectorsGraphic: | ||
|
|
||
| VectorsGraphic | ||
| ************** | ||
|
|
||
| ============== | ||
| VectorsGraphic | ||
| ============== | ||
| .. currentmodule:: fastplotlib | ||
|
|
||
| Constructor | ||
| ~~~~~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorsGraphic_api | ||
|
|
||
| VectorsGraphic | ||
|
|
||
| Properties | ||
| ~~~~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorsGraphic_api | ||
|
|
||
| VectorsGraphic.alpha | ||
| VectorsGraphic.alpha_mode | ||
| VectorsGraphic.axes | ||
| VectorsGraphic.block_events | ||
| VectorsGraphic.deleted | ||
| VectorsGraphic.directions | ||
| VectorsGraphic.event_handlers | ||
| VectorsGraphic.name | ||
| VectorsGraphic.offset | ||
| VectorsGraphic.positions | ||
| VectorsGraphic.right_click_menu | ||
| VectorsGraphic.rotation | ||
| VectorsGraphic.supported_events | ||
| VectorsGraphic.visible | ||
| VectorsGraphic.world_object | ||
|
|
||
| Methods | ||
| ~~~~~~~ | ||
| .. autosummary:: | ||
| :toctree: VectorsGraphic_api | ||
|
|
||
| VectorsGraphic.add_axes | ||
| VectorsGraphic.add_event_handler | ||
| VectorsGraphic.clear_event_handlers | ||
| VectorsGraphic.remove_event_handler | ||
| VectorsGraphic.rotate | ||
|
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ Graphics | |
| ScatterGraphic | ||
| ImageGraphic | ||
| ImageVolumeGraphic | ||
| VectorsGraphic | ||
| TextGraphic | ||
| LineCollection | ||
| LineStack | ||
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Vector Examples | ||
| =============== |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.