Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change colorhints #827

Open
bdch1234 opened this issue Oct 23, 2019 · 3 comments
Open

Change colorhints #827

bdch1234 opened this issue Oct 23, 2019 · 3 comments
Assignees
Labels
p4-enhancement-future 🧨 On the back burner question/docs ‽ Documentation clarification candidate submodule-notebook 📓 Much web such IDE
Projects

Comments

@bdch1234
Copy link

I’d like to use tqdm to show progress for an iterative algorithm with a max number of iterations. Since being interrupted then implies convergence, I would want to switch colorhints to show green if interrupted and red if it reaches total. Is that possible?

@casperdcl
Copy link
Sponsor Member

You should be able to set the bar_style attribute to either "success" (green) or "danger" (red)

@casperdcl
Copy link
Sponsor Member

Haven't checked the ipywidgets IntProgress docs so not sure what other strings are supported

@casperdcl casperdcl self-assigned this Oct 23, 2019
@casperdcl casperdcl added question/docs ‽ Documentation clarification candidate submodule-notebook 📓 Much web such IDE labels Oct 23, 2019
@casperdcl
Copy link
Sponsor Member

@casperdcl casperdcl added the p4-enhancement-future 🧨 On the back burner label Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4-enhancement-future 🧨 On the back burner question/docs ‽ Documentation clarification candidate submodule-notebook 📓 Much web such IDE
Projects
Casper
  
Awaiting triage
Development

No branches or pull requests

2 participants