-
Notifications
You must be signed in to change notification settings - Fork 64
Refactor imwidget #459
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
kushalkolar
merged 32 commits into
fastplotlib:iw_refactor
from
apasarkar:refactor_imwidget
Apr 12, 2024
Merged
Refactor imwidget #459
Changes from 11 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3662ab6
Removes slider_dims and now always generates slides for the first n -…
apasarkar a95badc
Adds more checks, removing C from the default dims order
apasarkar d155c27
Removes some more code that allowed specifying dimensions by int and …
apasarkar a77a41f
Fixes bug in kwarg initialization of frames_apply in imagewidget wher…
apasarkar 18b423d
In the _process_indices function the search for the array index in th…
apasarkar d1f35fe
Enforces condition that we can only apply window function along T and…
apasarkar 3e539ca
Includes properly formatted updates from previous commit
apasarkar 6bd6191
Updates some global variable names for clarity such as ALLOWED_DIMS a…
apasarkar 26d62c2
Updates doc strings and error messages for frame_apply and for error …
apasarkar c9d1ade
Adds check that window function windowsize is an int and also simplif…
apasarkar 060161a
Removes some unreachable error statements, renames internal variables…
apasarkar ba6f5a4
Includes support for mixed data types and RGB for imagewidget
apasarkar 0d217b0
Simplifies the code by removing dims_partition and replacing it with …
apasarkar 1bc7190
Simplifies the imwidget api by replacing color_schemes with rgb_disp,…
apasarkar 5b82074
Removes old global variables and color scheme function
apasarkar 1002857
Renames global variables for dimension counts to be clearer, changes …
apasarkar 3c3f0dc
Adds extra check to make sure rgb input list for imagewidget is same …
apasarkar 54d8552
Updates get_n_scrollable_dims function names and docstrings
apasarkar cfe4bd6
Updates the function to get number of scrollable dimensions for each …
apasarkar 5ff549e
Updates the set_data code, removing hard to maintain constants, updat…
apasarkar 1d75b9b
Fixes bug that did not update slider dimensions properly and also inc…
apasarkar cbd47c2
Updates documentation, removes unnecessary public variables
apasarkar 2360142
Merge branch 'main' into refactor_imwidget
apasarkar 5ce336f
fix indexing
kushalkolar 8679910
fix test
kushalkolar db5f5b4
Update image_widget_test.ipynb
kushalkolar 491aa1f
black
kushalkolar 29ed277
Includes new testing for imagewidget rgb and mixed types
apasarkar cf3cba1
Overrides synced controllers for gridplot imagewidget test
apasarkar eba97f7
Includes black after updating the tests
apasarkar 8fa21de
Includes histogram widget in the new tests for rgb and mixed types
apasarkar aea6d56
Apply suggestions from code review
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
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.