Git Product home page Git Product logo

sir-sigurd / ipywidgets-extended Goto Github PK

View Code? Open in Web Editor NEW

This project forked from casperwa/ipywidgets-extended

0.0 1.0 0.0 103 KB

Extensions of the excellent Jupyter widgets available in the [jupyter-widgets/ipywidgets](https://github.com/jupyter-widgets/ipywidgets) repository.

License: BSD 3-Clause "New" or "Revised" License

Python 82.62% JavaScript 5.55% TypeScript 10.54% Shell 1.30%

ipywidgets-extended's Introduction

Jupyter Widgets - Extended

This package contains widget extensions to the standard ipywidgets package. The intent is to not produce completely new widgets, but rather extend the widgets already in ipywidgets with more possibilities and options.

Current extended widgets

Dropdown

The dropdown widget has been extended to include the possibility of:

  • disabling options; and
  • grouping the options.

Disabling

This can be done via the disabled_options traitlet, which must be a list of option labels. If an option label is included in the disabled_options list traitlet, it will be "grayed out", i.e., disabled (but still visible) in the dropdown widget.

Grouping

Using the grouping parameter instead of the options parameter, options can be grouped as desired. The format is similar to the value for options, but each grouping of options should be paired with a header, i.e., you'll the value to be an iterable of (header, options)-pairs.

One can introduce un-grouped options by passing an empty header, i.e., an empty string ("").

About

Author: Casper Welzel Andersen (email, website).
License: BSD-3-Clause and copyright (c) 2020 Casper Welzel Andersen & parts by Jupyter Development Team.

ipywidgets-extended's People

Contributors

casperwa avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.