# ProgressMeter in Pluto

**URL:** <https://discourse.julialang.org/t/progressmeter-in-pluto/69190>\
**Category:** Pluto\
**Created:** [October 4, 2021, 12:44pm UTC](https://discourse.julialang.org/t/progressmeter-in-pluto/69190 "2021-10-04T12:44:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Norberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jon_norberg/32/3218_2.png) [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Post date:** [October 4, 2021, 12:44pm UTC](https://discourse.julialang.org/t/progressmeter-in-pluto/69190/1 "2021-10-04T12:44:27Z")

</div>

I vaguely remember this being addressed in one of the many Pluto videos, but I am not sure. So my question is: can I use ProgressMeter, or something similar to show the progress of a loop inside a Pluto cell? Right now, there is no output at all from the code below. Ideally one would want to see a dynamic progress bar…

e.g.:

```julia
function test()
   @showprogress 1 "Computing..." for i in 1:50
       sleep(0.1)
   end
end

```

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [March 14, 2022, 1:51pm UTC](https://discourse.julialang.org/t/progressmeter-in-pluto/69190/2 "2022-03-14T13:51:52Z")

</div>

Pluto has recently become compatible with [https://github.com/JuliaLogging/ProgressLogging.jl](https://github.com/JuliaLogging/ProgressLogging.jl), so just import this package, replace your macro `@showprogress` with `@progress` and you should be good to go!

---

<div class="post-metadata">

**Author:** ![adannenberg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adannenberg/32/7869_2.png) [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Post date:** [January 25, 2023, 2:54pm UTC](https://discourse.julialang.org/t/progressmeter-in-pluto/69190/3 "2023-01-25T14:54:07Z")

</div>

I’d like to revive this question.

Is there a way to have a progress meter in Pluto that is compatible with parallelized code?

```julia
@progress for counter = 1:n
...
end

```

works fine, but

```julia
@progress Threads.@threads for counter = 1:n
...
end

```

does not work.

Thanks.

Edit: I guess this is covered by [support loops wrapped by `Threads.@threads` · Issue #38 · JuliaLogging/ProgressLogging.jl · GitHub](https://github.com/JuliaLogging/ProgressLogging.jl/issues/38).  
So is there either 1) a plan to address the issue above or 2) a plan to make ProgressMeter.jl work with Pluto (ProgressMeter is, apparently, thread-safe and compatible with Threads.@threads)?
