# Plotting range of columns

**URL:** <https://discourse.julialang.org/t/plotting-range-of-columns/43959>\
**Category:** Visualization\
**Tags:** plotting\
**Created:** [July 30, 2020, 10:04am UTC](https://discourse.julialang.org/t/plotting-range-of-columns/43959 "2020-07-30T10:04:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Post date:** [July 30, 2020, 10:04am UTC](https://discourse.julialang.org/t/plotting-range-of-columns/43959/1 "2020-07-30T10:04:03Z")

</div>

Hello, when I use the example from [GitHub - JuliaPlots/StatsPlots.jl: Statistical plotting recipes for Plots.jl](https://github.com/JuliaPlots/StatsPlots.jl)

```julia
using DataFrames, StatsPlots
df = DataFrame(a = 1:10, b = 10 .* rand(10), c = 10 .* rand(10))
@df df plot(:a, cols(2:3), colour = [:red :blue])

```

I get the error `ArgumentError: unsupported symbol b passed to label` Does anyone know what I am missing?

---

<div class="post-metadata">

**Author:** ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Post date:** [August 6, 2020, 11:10am UTC](https://discourse.julialang.org/t/plotting-range-of-columns/43959/2 "2020-08-06T11:10:41Z")

</div>

This appears to be fixed in an update
