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
Close
Hashes for hyperspy_gui_traitsui-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c8ca1917babee6c604a14988dc7907e8d13581c6307863e71d0cab05d27a74 |
|
MD5 | 4df379ff989379047beff12584bbc3e4 |
|
BLAKE2b-256 | 666f9b4e7e3445a46c82953ab44837afbf052a4d11e97550fe0c5a10d72ca72b |
Close
Hashes for hyperspy_gui_traitsui-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd1f7480025b2eea5fc5bd0d4f85dc13d5c9559c393e28281bd2d3d498fbc77b |
|
MD5 | bc7a977aef62ed83e7a8555a56a9a255 |
|
BLAKE2b-256 | 72ce240998e67f364f80a0c726f06c39f4a339c754a04a5ebc4511f6987010cb |