Skip to content
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

heatmap: Fix aspect preserving scaling when a part of a 'split' is empty #4530

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

ales-erjavec
Copy link
Contributor

@ales-erjavec ales-erjavec commented Mar 13, 2020

Issue

Workflow:

File -> Select Rows -> Heatmap
  • File: Load brown-selected
  • Select rows: choose function, is on of, Proteas, Ribo
  • Heatmap Select Split By: function and check Keep aspect ratio

There is a extremely large empty space after Proteas section in the heatmap.

Screen Shot 2020-03-16 at 10 03 58

Fixes gh-4527

Description of changes

Do not attempt to scale empty widgets.

Includes
  • Code changes
  • Tests
  • Documentation

@ales-erjavec ales-erjavec force-pushed the fixes/heatmap-aspect-empty-size branch from 22ab776 to 3cb86fb Compare March 16, 2020 09:09
@codecov
Copy link

codecov bot commented Mar 16, 2020

Codecov Report

Merging #4530 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4530      +/-   ##
==========================================
- Coverage   83.37%   83.35%   -0.03%     
==========================================
  Files         279      274       -5     
  Lines       55755    54959     -796     
==========================================
- Hits        46485    45810     -675     
+ Misses       9270     9149     -121

@janezd janezd merged commit 3bb0749 into biolab:master Mar 19, 2020
@ales-erjavec ales-erjavec deleted the fixes/heatmap-aspect-empty-size branch August 5, 2020 11:42
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.

Heatmap problems with split by and data pre-filtering
2 participants