[ENH] much nicer plotly#107
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request enhances the plotly visualization backend with significant visual improvements and performance optimizations for AFQ (Automated Fiber Quantification) bundle visualization.
- Increases streamline visualization limits from 3,600 to 65,536 with minimum from 75 to 256
- Implements a dark theme with black backgrounds, white text, and subtle neon green grid lines
- Optimizes data types to use uint8 for binary/boolean data to reduce memory usage
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| AFQ/viz/utils.py | Increases default streamline visualization parameters for better quality |
| AFQ/viz/plotly_backend.py | Major visual overhaul with dark theme, improved coloring algorithms, and layout updates |
| AFQ/tasks/viz.py | Adjusts volume opacity defaults for better visualization |
| AFQ/tasks/segmentation.py | Optimizes TRX file loading and adds uint8 optimization |
| AFQ/data/fetch.py | Applies uint8 optimization for ROI data |
| AFQ/api/bundle_dict.py | Implements conditional uint8 casting for boolean data |
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
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.