expose colo(u)r for IntProgress/FloatProgress
See original GitHub issueProblem
IntProgress
andFloatProgress
have abar_style
argument to control colour… yet the option strings it accepts don’t sound like they control colour. Directly defining custom colours is also not documented. This seems an odd design choice (or lack thereof).
Proposed Solutions
- document the
style
kwarg, i.e.:style={'bar_color': 'green'}
- let
bar_style
accept colours (hex or plaintext,'#00ff00' == 'green' == 'success'
) - potentially rename this option
colour
(orcolor
to keep Americans happy) - or maybe just deprecate
bar_style
Additional context
https://github.com/tqdm/tqdm/issues/450#issuecomment-699544451
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
User Guide — Jupyter Widgets 7.6.3 documentation
Image · Button · Output · Play (Animation) widget · Date picker · Color picker ... Exposed CSS properties · Shorthand CSS properties...
Read more >Diving Into IPython Widgets - Kaggle
Before you install, you can check if IPython Widgets is already installed on your ... Color Picker: ColorPicker; Progress Bar: IntProgress , FloatProgress...
Read more >Jupyter Notebooks not displaying progress bars - Stack Overflow
The answer is in this GitHub issue. The key is to ensure that you have the ipywidgets notebook extension enabled using the following...
Read more >ipywidgets Documentation - Read the Docs
The interact function (ipywidgets.interact) automatically creates user interface (UI) controls for explor- ing code and data interactively.
Read more >JUPYTER/WIDGETS - GitHub Pages
widget-button-color — Color of the button ... float-progress, base-progress, description-widget, styled-widget, dom-widget, widget, has-traits, comm, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, if you think it would be useful for the examples provided in the comments above to be in the documentation.
ah srry thought you were a maintainer. Was being lazy. Anyway updated the description.