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

Default axis scale to frequency in group comparison lollipop plot #4442

Merged

Conversation

gblaih
Copy link
Contributor

@gblaih gblaih commented Dec 5, 2022

Fixes issue when there is no selected axis scale. When there is no selected axis scale, it should default to frequency mode.

@gblaih gblaih requested a review from alisman December 5, 2022 21:12
@@ -124,7 +124,10 @@ export default class GroupComparisonMutationsTabPlot extends React.Component<
plotLollipopTooltipCountInfo={
plotLollipopTooltipCountInfo
}
axisMode={this.props.store.userSelectedAxisMode}
axisMode={
this.props.store.userSelectedAxisMode ||
Copy link
Collaborator

Choose a reason for hiding this comment

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

sorry to be annoying but i think we should probably put this default inside of the the userSelectedAxisMode.

And also, I think we can just call it axisMode since I don't think we strongly need to distinguish it from a default or something else.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@alisman alisman merged commit 5700995 into cBioPortal:master Dec 6, 2022
@inodb inodb added the bug label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants