Skip to content

Commit 53d94cc

Browse files
authored
Merge pull request #2353 from willend/main
Add hints for alternative mcdisplay visualisation in Jupyter...
2 parents c09e0fd + 4d113a5 commit 53d94cc

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tools/Python/mcrun/template.ipynb.in

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,15 @@
4545
"outputs": [],
4646
"source": [
4747
"# Visualise with default parameters (defaults to 'webgl-classic' visualisation - specify by format='window' for pyqtgraph)\n",
48-
"instr.show_instrument()"
48+
"instr.show_instrument()\n",
49+
"# If you get no output in the IFrame (especially on Windows) try one of these alternatives:\n",
50+
"#\n",
51+
"# For stand-alone Pyqtgraph window, use:\n",
52+
"# instr.show_instrument('window')\n",
53+
"# For interactive webgl in new tab, use:\n",
54+
"# instr.show_instrument('webgl',new_tab='true')\n",
55+
"# For webgl-classic in new tab, use:\n",
56+
"# instr.show_instrument('webgl-classic',new_tab='true')"
4957
]
5058
},
5159
{

0 commit comments

Comments
 (0)