Skip to main content

A Jupyter widget to plot band structures and density of states.

Project description

widget-bandsplot

A Jupyter widget to plot band structures and density of states.

Installation

To install use pip:

$ pip install widget_bandsplot

For a development installation (requires Node.js and Yarn version 1),

$ git clone https://github.com/osscar-org/widget-bandsplot.git
$ cd widget-bandsplot
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix widget_bandsplot
$ jupyter nbextension enable --py --sys-prefix widget_bandsplot

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite widget_bandsplot

Then you need to rebuild the JS when you make a code change:

$ cd js
$ yarn run build

You then need to refresh the JupyterLab page when your javascript changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

widget_bandsplot-0.6.0.tar.gz (773.9 kB view hashes)

Uploaded source

Built Distribution

widget_bandsplot-0.6.0-py3-none-any.whl (862.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page