You want IJulia.clear_output(true)
IJulia.clear_output(true)
See here for a fairly extensive discussion of your question.