You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/user_guide/style.ipynb
+4-1
Original file line number
Diff line number
Diff line change
@@ -1577,6 +1577,9 @@
1577
1577
"Some support (*since version 0.20.0*) is available for exporting styled `DataFrames` to Excel worksheets using the `OpenPyXL` or `XlsxWriter` engines. CSS2.2 properties handled include:\n",
1578
1578
"\n",
1579
1579
"- `background-color`\n",
1580
+
"- `border-style` properties\n",
1581
+
"- `border-width` properties\n",
1582
+
"- `border-color` properties\n",
1580
1583
"- `color`\n",
1581
1584
"- `font-family`\n",
1582
1585
"- `font-style`\n",
@@ -1587,7 +1590,7 @@
1587
1590
"- `white-space: nowrap`\n",
1588
1591
"\n",
1589
1592
"\n",
1590
-
"- Currently broken: `border-style`, `border-width`, `border-color` and their {`top`, `right`, `bottom`, `left` variants}\n",
1593
+
"- Shorthand and side-specific border properties are supported (e.g. `border-style` and `border-left-style`) as well as the `border` shorthands for all sides (`border: 1px solid green`) or specified sides (`border-left: 1px solid green`). Using a `border` shorthand will override any border properties set before it (See [CSS Working Group](https://drafts.csswg.org/css-backgrounds/#border-shorthands) for more details)\n",
1591
1594
"\n",
1592
1595
"\n",
1593
1596
"- Only CSS2 named colors and hex colors of the form `#rgb` or `#rrggbb` are currently supported.\n",
- Fixed bug in :class:`CSSToExcelConverter` leading to ``TypeError`` when border color provided without border style for ``xlsxwriter`` engine (:issue:`42276`)
0 commit comments