Skip to content

Commit 5042b8c

Browse files
authored
Merge pull request #2669 from mwcraig/minor-docs-updates
Minor docs updates
2 parents 5f4d725 + 44bd221 commit 5042b8c

File tree

3 files changed

+32
-7
lines changed

3 files changed

+32
-7
lines changed

docs/requirements.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
ipykernel
21
bqplot
3-
numpy
2+
ipykernel
3+
ipyleaflet
44
jupyter_client
5-
nbsphinx>=0.2.13
5+
matplotlib
6+
nbsphinx>=0.5
7+
numpy
68
recommonmark
79
sphinx>=1.4.6
810
sphinx_rtd_theme
9-
matplotlib
10-
ipyleaflet
11-
pandas

docs/source/examples/Index.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"- [Widget Events](Widget%20Events.ipynb) \n",
3838
"- [Widget List](Widget%20List.ipynb) \n",
3939
"- [Widget Styling](Widget%20Styling.ipynb)\n",
40-
"- [Layout Templates](Layoutt%20Templates.ipynb)\n",
40+
"- [Layout Templates](Layout%20Templates.ipynb)\n",
4141
"- [Widget Asynchronous](Widget%20Asynchronous.ipynb): how to pause and listen in the kernel for widget changes in the frontend."
4242
]
4343
},

docs/source/examples/Widget List.ipynb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,32 @@
756756
")"
757757
]
758758
},
759+
{
760+
"cell_type": "markdown",
761+
"metadata": {},
762+
"source": [
763+
"### Password\n",
764+
"\n",
765+
"The `Password` widget hides user input on the screen. **This widget is not a secure way to collect sensitive information because:**\n",
766+
"\n",
767+
"+ The contents of the `Password` widget are transmitted unencrypted.\n",
768+
"+ If the widget state is saved in the notebook the contents of the `Password` widget is stored as plain text."
769+
]
770+
},
771+
{
772+
"cell_type": "code",
773+
"execution_count": null,
774+
"metadata": {},
775+
"outputs": [],
776+
"source": [
777+
"widgets.Password(\n",
778+
" value='password',\n",
779+
" placeholder='Enter password',\n",
780+
" description='Password:',\n",
781+
" disabled=False\n",
782+
")"
783+
]
784+
},
759785
{
760786
"cell_type": "markdown",
761787
"metadata": {

0 commit comments

Comments
 (0)