Skip to content

ENH: Disable all progress bars #7151

Open
@JakeSummers

Description

@JakeSummers

Context for the issue:

Currently the progress bars printed by pymc are printed to stdout in my backend service. They often corrupt the structured logs that my service prints.

Right now, I need to go through my code to disable all of the progress bars.

Aka I need to, update from:

pm.sample(samples, random_seed=random_seed)

To:

pm.sample(samples, random_seed=random_seed, progressbar=False)

It would make my code better, if I could do something like:

pm.progress_bar(False)

And that would disable all progress bars in pymc.

This would allow me to make my code easy to use with the backend service we integrate with but also to use in notebooks or IDEs.

Related: AnswerDotAI/fastprogress#105

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions