We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fdcf9 commit 5c8703aCopy full SHA for 5c8703a
EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/HeatMapPanel.java
@@ -1178,7 +1178,7 @@ private JPanel createExpressionLegendPanel() {
1178
layout.setHorizontalGroup(hGroup);
1179
layout.setVerticalGroup(vGroup);
1180
1181
- if (this.currentExpressionSet2 != null && !this.currentExpressionSet2.isEmpty()) {
+ if (params.isTwoDistinctExpressionSets()) {
1182
ColorGradientWidget legend1 = ColorGradientWidget.getInstance("", hmParams.getTheme_ds1(),
1183
hmParams.getRange_ds1(), true, ColorGradientWidget.LEGEND_POSITION.NA);
1184
ColorGradientWidget legend2 = ColorGradientWidget.getInstance("", hmParams.getTheme_ds2(),
0 commit comments