# Why am I only seeing one set of colors

**URL:** <https://discourse.julialang.org/t/why-am-i-only-seeing-one-set-of-colors/67386>\
**Category:** New to Julia\
**Created:** [August 30, 2021, 11:57pm UTC](https://discourse.julialang.org/t/why-am-i-only-seeing-one-set-of-colors/67386 "2021-08-30T23:57:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cybervigilante](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cybervigilante/32/26687_2.png) [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Post date:** [August 30, 2021, 11:57pm UTC](https://discourse.julialang.org/t/why-am-i-only-seeing-one-set-of-colors/67386/1 "2021-08-30T23:57:39Z")

</div>

I thought I would see four different sets of colors, one per second, but I only see the first. Why doesn’t this work? (using Jupyter Lab for Julia in Windows)

```julia
reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3)
sleep(1)
reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3)
sleep(1)
reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3)
sleep(1)
reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3)

```

![colors](https://global.discourse-cdn.com/julialang/original/3X/7/f/7f36705c6b0669e5e5ce5947a7ed67ece7e75444.png)

---

<div class="post-metadata">

**Author:** ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)\
**Post date:** [August 31, 2021, 1:31am UTC](https://discourse.julialang.org/t/why-am-i-only-seeing-one-set-of-colors/67386/2 "2021-08-31T01:31:48Z")

</div>

For this type of overloaded printing, Jupyterlab only prints the last thing returned in a cell, try separating it out into four cells, or returning a vector of images from a single cell:

```julia
[
    reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3),
    reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3),
    reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3),
    reshape([RGB(rand(),rand(),rand()) for _ in 1:12], 4,3)
]

```

![image](https://global.discourse-cdn.com/julialang/original/3X/7/9/79c14eebc8ee8fd1581557070ecf5b09b4be755b.png)
