Skip to content

Commit 3ea30c0

Browse files
zipheiSunsetWolf
andauthored
The plotly figure is empty in the code block "Basic data" (#1902)
* Update detailed_workflow.ipynb the result figure is empty * Update detailed_workflow.ipynb fix issue: the plotly figure is empty * The error message indicated that my code did not comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected. * comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected. * I didn't use nbqa black to reformat my code. Now is done! * recover_code --------- Co-authored-by: Linlang <[email protected]>
1 parent 4b8d70d commit 3ea30c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/tutorial/detailed_workflow.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@
171171
"outputs": [],
172172
"source": [
173173
"import plotly.graph_objects as go\n",
174+
"import plotly.io as pio\n",
174175
"\n",
176+
"pio.renderers.default = \"notebook\"\n",
175177
"fig = go.Figure(\n",
176178
" data=[\n",
177179
" go.Candlestick(\n",

0 commit comments

Comments
 (0)