public class Plot2Notebook extends Object
Modifier and Type | Field and Description |
---|---|
static JupyterCell |
PLOT_CELL
JupyterCell instance that sets up
PLOTWORDS_FUNC . |
static String |
PLOTSERV_PY_RESOURCE
Resource containing plotserv.py.
|
static String |
PLOTWORDS_FUNC
Name of python function that will yield a plot, taking only a
single argument which is a string array of the form
["
|
Modifier and Type | Method and Description |
---|---|
static JupyterCell |
createPlotWordsCell(String[] words)
Creates a cell that will generate a plot.
|
static void |
main(String[] args)
Writes to standard output an ipynb file that will generate some
plots for any installation (no data required).
|
public static final String PLOTSERV_PY_RESOURCE
public static final JupyterCell PLOT_CELL
PLOTWORDS_FUNC
.public static final String PLOTWORDS_FUNC
PLOTSERV_PY_RESOURCE
.public static JupyterCell createPlotWordsCell(String[] words)
words
- arguments of plot function:
["public static void main(String[] args)
args
- ignoredCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.