What is the correct way to get different bar styles when using @showprogress along with @distributed? I tried (unsuccessfully) the following: (edit: also pinging @tim.holy )
@showprogress 1 "Computing function..." BarGlyphs("[=> ]") @distributed (+) for i in 1:10
You can always use the
p = Progress(10, barglyphs=BarGlyphs("[=> ]")) and an explicit
next! in the loop.
Thank you! Yes, that’s what I ended up doing in the end. Was just curious to know if there was something which could be augmented as an argument to @showprogress
Hi, I am trying to change the bar style and bar len but with
asyncmap but it does not show the progress bar correctly:
p=ProgressMeter.Progress(10, desc="Compute", barglyphs=BarGlyphs("[\u25A0\u25A0 ]"), barlen=20,color= :green)
vals= asyncmap(1:10;ntasks=5) do x
It prints the progress bar multiple times.
Is it a bug?