mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 00:36:55 +08:00
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 <Lv.Linlang@hotmail.com>
This commit is contained in:
@@ -171,7 +171,9 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"import plotly.graph_objects as go\n",
|
"import plotly.graph_objects as go\n",
|
||||||
|
"import plotly.io as pio\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
"pio.renderers.default = \"notebook\"\n",
|
||||||
"fig = go.Figure(\n",
|
"fig = go.Figure(\n",
|
||||||
" data=[\n",
|
" data=[\n",
|
||||||
" go.Candlestick(\n",
|
" go.Candlestick(\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user