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

Minor fixes in Mosaic and Sieve vizrank #6677

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Dec 14, 2023

Issue

Minor improvements over #6661.

Description of changes

Mosaic:

  • Mosaic: disable vizrank for less than two variables
  • Mosaic: disable the option to select three or four variables when the number of variables is smaller than that.
  • Mosaic: don't declare vizrank dialog as setting provider because it no longer is, and can't be.

Sieve:

  • Remove unused caption_title.
Includes
  • Code changes
  • Tests

@janezd janezd force-pushed the vizrank-disable-when-no-data branch from 8d5304e to 44b3cb9 Compare December 14, 2023 13:38
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #6677 (a66c3c8) into master (b17c0ff) will decrease coverage by 0.01%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6677      +/-   ##
==========================================
- Coverage   88.09%   88.08%   -0.01%     
==========================================
  Files         322      322              
  Lines       70102    70106       +4     
==========================================
  Hits        61755    61755              
- Misses       8347     8351       +4     

@@ -395,7 +404,7 @@ def set_data(self, data):

def init_vizrank(self):
if self.data is not None and len(self.data) > 1 \
and len(self.data.domain.attributes) >= 1:
and len(self.data.domain.attributes) >= 2:
Copy link
Contributor

Choose a reason for hiding this comment

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

The condition should be applied to len(self.data.domain.variables + self.data.domain.metas). (The mosaic is build upon all variables in the domain).

@janezd janezd force-pushed the vizrank-disable-when-no-data branch from 8a63502 to a66c3c8 Compare December 15, 2023 11:46
@VesnaT VesnaT merged commit dcd7f72 into biolab:master Dec 15, 2023
25 of 27 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.

2 participants