Skip to main content

traitsui GUI elements for HyperSpy.

Project description

hyperspy_gui_traitsui

Build Status

hyperspy_gui_traitsui provides traitsui graphic user interface (GUI) elements for hyperspy.

Installation

Option 1: With pip

Make sure you have pip installed and run:

pip install hyperspy_gui_traitsui

Option 2: With Anaconda

Install anaconda for your platform and run

conda install hyperspy_gui_traitsui -c conda-forge

traitsui doesn’t support Qt5 as of version 5.1. Therefore, when using the Qt toolkit it may be necessary to downgrade pyqt, which requires removing the anaconda-navigator package as follows:

conda uninstall anaconda-navigator -y
conda install pyqt=4.11.4 -y

Usage

Please refer to the HyperSpy documentation for details. Example (to run in any IPython flavour):

%matplotlib qt4
import hyperspy.api as hs
hs.preferences.gui(toolkit="traitsui")
HyperSpy preferences ipywidget

alt text

Development

Contributions through pull requests are welcome. See the HyperSpy Developer Guide.

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

hyperspy_gui_traitsui-1.0.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

hyperspy_gui_traitsui-1.0.1-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file hyperspy_gui_traitsui-1.0.1.tar.gz.

File metadata

File hashes

Hashes for hyperspy_gui_traitsui-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dec051cb510d110cb7b1fd8224d063783e82d267693537a00d79b5041ad31fce
MD5 e7133719b2d2a20f28f9f075f2d02814
BLAKE2b-256 3534d33367d49ab58eb2c1dc20a1cbd6912307992af0c0cd71b9dcadee3f4fac

See more details on using hashes here.

File details

Details for the file hyperspy_gui_traitsui-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hyperspy_gui_traitsui-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ae8e5f06ee4be1a419fe3236d7095fd5b61ea0d86c875a60f02f4a65ad2495c4
MD5 a50f9689870eb4090a2cee813a84f78e
BLAKE2b-256 dee96b9f578aec2b75b90f0fecdc8aec1892df0e968ede989a1c8d5f3fb19f87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page