Skip to content

Commit c7825cb

Browse files
committed
dont override show_colorbar for add_main_heatmap
1 parent 79bbe8c commit c7825cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/main_heatmap.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ setMethod("add_main_heatmap", c(p = "IheatmapHorizontal", data = "matrix"),
381381
xaxis = xname,
382382
yaxis = "y",
383383
colorbar = name,
384-
show_colorbar = TRUE,
384+
show_colorbar = show_colorbar,
385385
data = data,
386386
text = text,
387387
tooltip = tooltip)
@@ -464,7 +464,7 @@ setMethod("add_main_heatmap", c(p = "IheatmapVertical", data = "matrix"),
464464
xaxis = "x",
465465
yaxis = yname,
466466
colorbar = name,
467-
show_colorbar = TRUE,
467+
show_colorbar = show_colorbar,
468468
data = data,
469469
text = text,
470470
tooltip = tooltip)

0 commit comments

Comments
 (0)