[R-gregmisc-commits] r2092 - pkg/gplots/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Mar 25 14:40:04 CET 2016
Author: warnes
Date: 2016-03-25 14:40:03 +0100 (Fri, 25 Mar 2016)
New Revision: 2092
Modified:
pkg/gplots/R/heatmap.2.R
Log:
Corrected a bug causing "Error in plot.new() : figure margins too large" to occur when 'key=FALSE'. (Reported and patch provided by Sveinung Gundersen.)
Modified: pkg/gplots/R/heatmap.2.R
===================================================================
--- pkg/gplots/R/heatmap.2.R 2016-03-24 16:07:06 UTC (rev 2091)
+++ pkg/gplots/R/heatmap.2.R 2016-03-25 13:40:03 UTC (rev 2092)
@@ -761,8 +761,10 @@
}
else
- plot.new()
-
+ {
+ par(mar=c(0, 0, 0, 0))
+ plot.new()
+ }
## Create a table showing how colors match to (transformed) data ranges
retval$colorTable <- data.frame(
low=retval$breaks[-length(retval$breaks)],
More information about the R-gregmisc-commits
mailing list