Feat vs Anno Tab Labels Readability Fix (Cleaner Files)#51
Closed
SudeepMangam wants to merge 10 commits intoFNLCR-DMAP:mainfrom
Closed
Feat vs Anno Tab Labels Readability Fix (Cleaner Files)#51SudeepMangam wants to merge 10 commits intoFNLCR-DMAP:mainfrom
SudeepMangam wants to merge 10 commits intoFNLCR-DMAP:mainfrom
Conversation
added 10 commits
July 6, 2025 10:40
Author
|
Hi all, |
This was referenced Oct 23, 2025
This was referenced Nov 15, 2025
Contributor
|
This feature has been merged in another PR. |
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.
Description:
In the Feat vs Ammo tab, the plot runs into problems relating to the labels. The X and Y axis are often clustered with too many labels causing the text to overlap. This causes the text to be unreadable for both the X and Y axis. As a result, the plot fails to communicate essential data when used for analysis.
Requirements:
OS: Ubuntu via WSL on Windows 11
Python Version: 3.9.13 (Miniconda)
Project Directory: ~/root/summer2025/SPAC_Shiny
Conda Environment: spacy_viz_py3913_wsl
Launch Command: python -m shiny run --reload app:app
Branch: Used the keyerror-fix branch
Dataset Used: Custom .h5ad file
Implementation:
This pull request addresses overlapping labels in the "Feat vs Anno" heatmap by introducing layout improvements to enhance readability regarding the overlap. Specifically:
Introducing a Font Size Slider to adjust the fonts of both the X and Y axis
Added an Abbreviate toggle that uses a dropdown slider to specify the length of the Abbreviation to the user
Created a Y axis label rotator, similar to that of the already implemented X axis label rotator
Formatted the markdowns for the Denograms so that the markdowns don't interfere with the Abbreviation's markdowns
These updates streamline user interpretation and make the visualization more accessible across various dataset scales.