GUI for CLEASE
Project description
CLEASE GUI
This is a GUI based on Jupyter notebooks for CLEASE. For more information, head on over to the documentation.
Installation
The CLEASE GUI is available on PyPI:
$ pip install clease-gui
The GUI is also available on conda-forge. This is also the prefered method on Windows, in order to simply the compilation process of CLEASE. To install into your conda environment, do:
$ conda install -c conda-forge clease-gui
Running the GUI
The GUI is based on Jupyter notebooks. The GUI works in both "classic" jupyter notebooks, and in Jupyter lab. Launch jupyter lab with:
$ jupyter-lab
Alternatively to use the classic jupyter notebook, do:
$ jupyter notebook
Create a new notebook that you want to work in, and a new cell, add the following lines:
%matplotlib tk
from clease_gui import display_ui
display_ui(dev_mode=True);
A line %matplotlib notebook
can be added at the start of the cell for nicer plots
(this only works in classic jupyter notebooks).
However, this may come at a significant performance cost, so do your own testing.
Plot font sizes
All plots generated in this package are generated by the matplotlib
package. However, the default font size in matplotlib
can be rather small,
so it can be adjusted globally, e.g. by running the following in a cell:
import matplotlib
matplotlib.rcParams.update({'font.size': 16})
This will also affect the font sizes on the figures generated in the GUI.
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
Hashes for clease_gui-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73264ef629e1b810c98512d4f23b4dafacc3379eb4af5eb1e969c64f945dffc |
|
MD5 | 8a17cfe14bcdf976d92d69a3a1d16fdc |
|
BLAKE2b-256 | 1aac66b92fd1801201af96edcdff351c2854fbc57ad0c91168164885f29fdab9 |