Skip to content

Commit a046353

Browse files
Backport PR pandas-dev#42417: DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation (pandas-dev#42418)
Co-authored-by: Stephen <[email protected]>
1 parent 8b0c49d commit a046353

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
@@ -703,7 +703,7 @@ def to_latex(
703703
>>> df = pd.DataFrame([[1]])
704704
>>> df.style.set_properties(
705705
... **{"font-weight": "bold /* --dwrap */", "Huge": "--latex--rwrap"}
706-
... ).to_latex(css_convert=True)
706+
... ).to_latex(convert_css=True)
707707
\begin{tabular}{lr}
708708
{} & {0} \\
709709
0 & {\bfseries}{\Huge{1}} \\

0 commit comments

Comments
 (0)