File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -455,12 +455,14 @@ class CSSWarning(UserWarning):
455
455
Examples
456
456
--------
457
457
>>> df = pd.DataFrame({'A': [1, 1, 1]})
458
- >>> (df.style.applymap(lambda x: 'background-color: blueGreenRed;')
459
- ... .to_excel('styled.xlsx')) # doctest: +SKIP
460
- ... # CSSWarning: Unhandled color format: 'blueGreenRed'
461
- >>> (df.style.applymap(lambda x: 'border: 1px solid red red;')
462
- ... .to_excel('styled.xlsx')) # doctest: +SKIP
463
- ... # CSSWarning: Too many tokens provided to "border" (expected 1-3)
458
+ >>> df.style.applymap(
459
+ ... lambda x: 'background-color: blueGreenRed;'
460
+ ... ).to_excel('styled.xlsx') # doctest: +SKIP
461
+ CSSWarning: Unhandled color format: 'blueGreenRed'
462
+ >>> df.style.applymap(
463
+ ... lambda x: 'border: 1px solid red red;'
464
+ ... ).to_excel('styled.xlsx') # doctest: +SKIP
465
+ CSSWarning: Unhandled color format: 'blueGreenRed'
464
466
"""
465
467
466
468
You can’t perform that action at this time.
0 commit comments