Skip to content

Commit

Permalink
Remove renderer = 'notebook' from files
Browse files Browse the repository at this point in the history
The pio.renderers.default = "notebook" will make plots not appear in
more recent versions of jupyter/jupyter lab.
Letting the code commented for people using older versions of jupyter.
  • Loading branch information
raphaeltimbo committed Aug 22, 2024
1 parent 0345e1d commit 56f00c1
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion docs/user_guide/example_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_10.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"from ross.probe import Probe\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_11.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"from ross.probe import Probe\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_12.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"from ross.probe import Probe\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_13.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_14.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_15.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"from ross.probe import Probe\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_16.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_17.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_18.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_19.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"import ross as rs\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_20.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_21.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_22.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_23.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_24.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"from IPython.display import display\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_5.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_6.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_8.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/example_9.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"import plotly.graph_objects as go\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/tutorial_part_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"import numpy as np\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/tutorial_part_2_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"iopub.status.idle": "2023-05-04T01:03:40.194460Z",
"shell.execute_reply": "2023-05-04T01:03:40.193987Z"
}
},
}"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
"outputs": [],
"source": [
"import ross as rs\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/tutorial_part_2_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"import numpy as np\n",
"import plotly.io as pio\n",
"\n",
"pio.renderers.default = \"notebook\""
"# pio.renderers.default = \"notebook\" # depending on jupyter version you might need to enable this line"
]
},
{
Expand Down

0 comments on commit 56f00c1

Please sign in to comment.