traitsui GUI elements for HyperSpy.
Project description
hyperspy_gui_traitsui
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")
Development
Contributions through pull requests are welcome. See the HyperSpy Developer Guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hyperspy_gui_traitsui-1.0.0.tar.gz
.
File metadata
- Download URL: hyperspy_gui_traitsui-1.0.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5713b5481617b4f5ac0190591bc615829d0bcfb96910dfa80f3f4ef23ec9b19c |
|
MD5 | dec2b1bac771819e6fc464e6fb942927 |
|
BLAKE2b-256 | 3d4a55102bcdc4891386aa7bdf33a97d732bb5e9baa7f08dbe3985843eb7e2d9 |
File details
Details for the file hyperspy_gui_traitsui-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: hyperspy_gui_traitsui-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2932e6fbb85d6c10645e2b7545947ddf86003ed2de58e8ae3fa9c7df26af1ea |
|
MD5 | aabef7e23fd1cf93d50335d9bb1dbcc9 |
|
BLAKE2b-256 | 83ca3f8de1af64cc85e095e517a0245ed8126c9edc6add3b515ba593776b8435 |