title: ggplot2 theme with no axes or grid
body: <p>I am trying to make a plot with no information beyond the data. No axes; no grid; no title; just the plot.</p>
  
  <p>But I keep getting extra margins and padding that I can't remove.</p>
  
  <pre><code>library(ggplot2)
  library(grid)
  
  theme_bare &lt;- theme(
    axis.line = element_blank(), 
    axis.text.x = element_blank(), 
    axis.text.y = element_blank(),
    axis.ticks = element_blank(), 
    axis.title.x = element_blank(), 
    axis.title.y = element_blank(), 
    #axis.ticks.length = unit(0, "lines"), # Error 
    axis.ticks.margin = unit(c(0,0,0,0), "lines"), 
    legend.position = "none", 
    panel.background = element_rect(fill = "gray"), 
    panel.border = element_blank(), 
    panel.grid.major = element_blank(), 
    panel.grid.minor = element_blank(), 
    panel.margin = unit(c(0,0,0,0), "lines"), 
    plot.background = element_rect(fill = "blue"),
    plot.margin = unit(c(0,0,0,0), "lines")
  )
  
  ggplot() + 
    geom_area (data=economics, aes(x = date, y = unemploy), linetype=0) +
    theme_bare
  </code></pre>
  
  <p>Produces this image: <img src="https://i.stack.imgur.com/0t5Xe.png" alt="plot"></p>
  
  <p>What I want is this: <img src="https://i.stack.imgur.com/kZ8UY.png" alt="plot ideal"></p>
  
  <p>I can't figure out how to get rid of the blue and make the dark gray flush with the edges. </p>
  
  <p>Could any one offer some advice?</p>