Skip to content

Commit 6ec372e

Browse files
authored
DOC:GH42409 Fix mistake in code example of Styler.to_latex documentation. (#42417)
1 parent ee3a5b7 commit 6ec372e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def to_latex(
702702
>>> df = pd.DataFrame([[1]])
703703
>>> df.style.set_properties(
704704
... **{"font-weight": "bold /* --dwrap */", "Huge": "--latex--rwrap"}
705-
... ).to_latex(css_convert=True)
705+
... ).to_latex(convert_css=True)
706706
\begin{tabular}{lr}
707707
{} & {0} \\
708708
0 & {\bfseries}{\Huge{1}} \\

0 commit comments

Comments
 (0)