Skip to content

Commit

Permalink
Don't add zero-height bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
warnes committed Dec 2, 2023
1 parent 3886bc7 commit d91f0a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/mini_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ spec_barplot <- function(
dir.create(dir)
}
height<-matrix(x)
height<-cbind(height,0)
#height<-cbind(height,0)

file_ext <- dev_chr(file_type)
if (is.null(file)) {
file <- normalizePath(
Expand Down

0 comments on commit d91f0a8

Please sign in to comment.