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.2.tar.gz
.
File metadata
- Download URL: hyperspy_gui_traitsui-1.0.2.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9738bfc6d88766111ec925e3910952075005959d30f4208ff0aba0cae12ad5ce |
|
MD5 | 114feeb47c6e7ec81727c98c944a299e |
|
BLAKE2b-256 | 91a3311b65ae391d82df0e8765b067a3dcaefe2357d2905aca4a971c407092b7 |
File details
Details for the file hyperspy_gui_traitsui-1.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: hyperspy_gui_traitsui-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec9c089d9bbc419dae183c9e44895312669f64f5e4f4a1c299c08665b856da0 |
|
MD5 | 5fdd3f4fd6ba9d5852c5686282803dda |
|
BLAKE2b-256 | 683548978d38f7e2d4255b41ecbc2d126200cda94727920f89e5d39298719ec8 |