# StackOverflowError with boxplot!() due to deprecation

**URL:** <https://discourse.julialang.org/t/stackoverflowerror-with-boxplot-due-to-deprecation/44871>\
**Category:** General Usage\
**Tags:** question, plotting\
**Created:** [August 13, 2020, 1:09pm UTC](https://discourse.julialang.org/t/stackoverflowerror-with-boxplot-due-to-deprecation/44871 "2020-08-13T13:09:15Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [August 13, 2020, 1:48pm UTC](https://discourse.julialang.org/t/stackoverflowerror-with-boxplot-due-to-deprecation/44871/6 "2020-08-13T13:48:58Z")

</div>

Some minor rework:

```julia

using StatsPlots

function boxplot_missing(m)
    bp=boxplot()
    for i in 1:size(m,2)
		bp=boxplot!(filter(!ismissing,m[:,i]))
    end
    display(bp)
end

a=[ 0.000163187 0.000121895 0.000229244 6.98374e-6
	missing missing missing missing
	0.000347736 0.000385244 0.00025956 missing]
			   
boxplot_missing(a)

```

Works in Julia 1.3.1, 1.4.2 and 1.5.0.

---

_[View the full topic](https://discourse.julialang.org/t/stackoverflowerror-with-boxplot-due-to-deprecation/44871)._
