https://github.com/betatim/jupyter-xm-magic
https://github.com/betatim/jupyter-xm-magic
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/betatim/jupyter-xm-magic
- Owner: betatim
- Created: 2018-07-06T16:33:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T20:36:37.000Z (over 7 years ago)
- Last Synced: 2025-02-08T07:12:24.386Z (8 months ago)
- Language: JavaScript
- Size: 3.33 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SigPlot Jupyter Notebook Extension! [](https://mybinder.org/v2/gh/amatma/jupyter-xm-magic/master?filepath=SigPlotExtensionTest.ipynb)
## Installation (If not runnign the notebook on [myBinder](https://mybinder.org/v2/gh/amatma/jupyter-xm-magic/master?filepath=SigPlotExtensionTest.ipynb))
- Download extension from [GitHub](https://github.com/amatma/jupyter-xm-magic)
- Install Python 2.6+ or 3.5+
- Install `pip` (usually bundled with Python)
- Install Jupyter using `pip`
- Note: you do not need X-MIDAS installed to use [SigPlot](https://github.com/lgsinnovations/sigplot).```
pip install jupyter
```- Install the SigPlot Jupyter Notebook extension
```
[/path/to/ipython-xm-magic]$ python setup.py install
```
- To launch the notebook, simply run:$ jupyter notebook
Once the notebook has launched, loading the extension is pretty straightforward, just run
```
%load_ext xm_magic```
## SigPlot Usage
- Sigplot(args*) - creates a sigplot with each arg as input data
- overlay_array(data) - adds an array of numbers to the sigplot's input data
- overlay_href(path) - adds data from an online source to the sigplot
- overlay_file(path) - adds data from a file to the sigplot
- plot() - displays an interactive sigplot