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

[ENH] Sticky graphics header/footer views #3930

Merged
merged 13 commits into from
Jul 19, 2019

Conversation

ales-erjavec
Copy link
Contributor

@ales-erjavec ales-erjavec commented Jul 9, 2019

Issue

Fixes gh-3918
Fixes gh-1745

Description of changes

Add s StickyGraphicsView utility class implementing a sticky header/footer views to anchor scene header/footer in the view.

Hierarchical Clustering: Move the top and bottom scales into the same scene as the dendrogram (and are therefore exported to image along with it - gh-3918).

Silhouette Plot: Anchor top and bottom scales in the view.

Heatmap: Anchor top dendrogram/labels and bottom labels in view when applicable (gh-1745).

sticky-header

Includes
  • Code changes
  • Tests
  • Documentation

@ales-erjavec ales-erjavec force-pushed the sticky-graphics-header-footer branch from 6a5390c to 08a76b0 Compare July 9, 2019 14:05
@codecov
Copy link

codecov bot commented Jul 11, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@be34e1d). Click here to learn what that means.
The diff coverage is 94.94%.

@@            Coverage Diff            @@
##             master    #3930   +/-   ##
=========================================
  Coverage          ?   84.76%           
=========================================
  Files             ?      373           
  Lines             ?    65107           
  Branches          ?        0           
=========================================
  Hits              ?    55187           
  Misses            ?     9920           
  Partials          ?        0

@codecov
Copy link

codecov bot commented Jul 11, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@be34e1d). Click here to learn what that means.
The diff coverage is 93.12%.

@@            Coverage Diff            @@
##             master    #3930   +/-   ##
=========================================
  Coverage          ?   85.02%           
=========================================
  Files             ?      378           
  Lines             ?    66671           
  Branches          ?        0           
=========================================
  Hits              ?    56685           
  Misses            ?     9986           
  Partials          ?        0

This time with a larger margin. Ensure there are no noticeable
artifacts due to device pixel ratio scaling with the display of the
scale's horizontal line.
This time with a larger margin. Ensure there are no noticeable
artifacts due to device pixel ratio scaling with the display of the
scale's horizontal line.
... when the scene is cleared
Ensure the initial scale has the 'inverted' range (descending values
from left to right) before the first dendrogram is displayed.
@VesnaT VesnaT merged commit 6e7e534 into biolab:master Jul 19, 2019
@ales-erjavec ales-erjavec deleted the sticky-graphics-header-footer branch March 16, 2020 13:44
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.

Hierarchical Clustering: include scale in image export [ENH] Heat Map: Freeze header when scrolling down
2 participants