Skip to content

[ENH] much nicer plotly#107

Merged
36000 merged 6 commits into
tractometry:mainfrom
36000:plotly_nicer
Aug 9, 2025
Merged

[ENH] much nicer plotly#107
36000 merged 6 commits into
tractometry:mainfrom
36000:plotly_nicer

Conversation

@36000

@36000 36000 commented Aug 7, 2025

Copy link
Copy Markdown
Collaborator

plotly

Copilot AI review requested due to automatic review settings August 7, 2025 22:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread AFQ/viz/plotly_backend.py Outdated
Comment thread AFQ/tasks/segmentation.py Outdated
Comment thread AFQ/viz/plotly_backend.py Outdated
Comment thread AFQ/viz/plotly_backend.py

@arokem arokem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah - looks nice!

Comment thread AFQ/viz/utils.py
@36000
36000 merged commit 0e4601c into tractometry:main Aug 9, 2025
9 checks passed
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.

3 participants