Skip to content

Commit 79eae41

Browse files
committed
Documentation tweaks
1 parent c4f59c6 commit 79eae41

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

doc/source/style.ipynb

+7-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# HTML Styling\n",
7+
"# Styling\n",
88
"\n",
99
"*New in version 0.17.1*\n",
1010
"\n",
11-
"<p style=\"color: red\">*Provisional: This is a new feature and still under development. We'll be adding features and possibly making breaking changes in future releases. We'd love to hear your feedback.*<p style=\"color: red\">\n",
11+
"<span style=\"color: red\">*Provisional: This is a new feature and still under development. We'll be adding features and possibly making breaking changes in future releases. We'd love to hear your feedback.*</span>\n",
1212
"\n",
1313
"This document is written as a Jupyter Notebook, and can be viewed or downloaded [here](http://nbviewer.ipython.org/github/pandas-dev/pandas/blob/master/doc/source/html-styling.ipynb).\n",
1414
"\n",
@@ -233,7 +233,7 @@
233233
"source": [
234234
"Above we used `Styler.apply` to pass in each column one at a time.\n",
235235
"\n",
236-
"<p style=\"background-color: #DEDEBE\">*Debugging Tip*: If you're having trouble writing your style function, try just passing it into <code style=\"background-color: #DEDEBE\">DataFrame.apply</code>. Internally, <code style=\"background-color: #DEDEBE\">Styler.apply</code> uses <code style=\"background-color: #DEDEBE\">DataFrame.apply</code> so the result should be the same.</p>\n",
236+
"<span style=\"background-color: #DEDEBE\">*Debugging Tip*: If you're having trouble writing your style function, try just passing it into <code style=\"background-color: #DEDEBE\">DataFrame.apply</code>. Internally, <code style=\"background-color: #DEDEBE\">Styler.apply</code> uses <code style=\"background-color: #DEDEBE\">DataFrame.apply</code> so the result should be the same.</span>\n",
237237
"\n",
238238
"What if you wanted to highlight just the maximum value in the entire table?\n",
239239
"Use `.apply(function, axis=None)` to indicate that your function wants the entire table, not one column or row at a time. Let's try that next.\n",
@@ -847,11 +847,11 @@
847847
"cell_type": "markdown",
848848
"metadata": {},
849849
"source": [
850-
"# Export to Excel\n",
850+
"## Export to Excel\n",
851851
"\n",
852852
"*New in version 0.20.0*\n",
853853
"\n",
854-
"<p style=\"color: red\">*Experimental: This is a new feature and still under development. We'll be adding features and possibly making breaking changes in future releases. We'd love to hear your [feedback](https://github.com/pandas-dev/pandas/issues).*<p style=\"color: red\">\n",
854+
"<span style=\"color: red\">*Experimental: This is a new feature and still under development. We'll be adding features and possibly making breaking changes in future releases. We'd love to hear your feedback.*</span>\n",
855855
"\n",
856856
"Some support is available for exporting styled `DataFrames` to Excel worksheets using the `OpenPyXL` engine. CSS2.2 properties handled include:\n",
857857
"\n",
@@ -886,7 +886,8 @@
886886
"metadata": {},
887887
"source": [
888888
"A screenshot of the output:\n",
889-
"<img alt=\"Excel spreadsheet with styled DataFrame\" src=\"_static/style-excel.png\">"
889+
"\n",
890+
"![Excel spreadsheet with styled DataFrame](_static/style-excel.png)\n"
890891
]
891892
},
892893
{

0 commit comments

Comments
 (0)