Skip to content

Commit

Permalink
Minor fixes for various gallery examples (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 21, 2020
1 parent 514f058 commit 9000b6b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/gallery/apis/stocks_plotly.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"source": [
"import panel as pn\n",
"import pandas as pd\n",
"import plotly.graph_objs as go\n",
"import plotly.graph_objects as go\n",
"\n",
"from bokeh.sampledata import stocks\n",
"\n",
Expand Down
17 changes: 16 additions & 1 deletion examples/gallery/param/download_upload_csv.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,22 @@
"sample_data_app = SampleDataApp()\n",
"voltage_app = VoltageApp()\n",
"\n",
"pn.Row(sample_data_app.view(), voltage_app.view(), sizing_mode='stretch_both').servable()"
"description = \"\"\"\n",
"This application demonstrates the ability to download a file using the FileDownload widget \n",
"and uploading a file using the FileInput widget.\n",
"</br></br>\n",
"Try filtering the data on the left, download the file by clicking on the Download button\n",
"and then plot it on the right by uploading that same file.\n",
"\"\"\"\n",
"\n",
"pn.Row(\n",
" sample_data_app.view(),\n",
" pn.Column(\n",
" description,\n",
" voltage_app.view(),\n",
" ),\n",
" sizing_mode='stretch_both'\n",
").servable()"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/param/reactive_plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"\n",
"from bokeh.sampledata.iris import flowers\n",
"\n",
"pn.extension(embed=True)"
"pn.extension()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/simple/save_filtered_df.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
" callback=filtered_file, filename='filtered_autompg.csv'\n",
")\n",
"\n",
"pn.Column(pn.Row(years, mpg), fd, pn.panel(filtered_mpg, width=600), width=600)"
"pn.Column(pn.Row(years, mpg), fd, pn.panel(filtered_mpg, width=600), width=600).servable()"
]
}
],
Expand Down

0 comments on commit 9000b6b

Please sign in to comment.