Skip to content

Commit 176e51c

Browse files
committed
Fix NameError
1 parent c589c35 commit 176e51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/formats/format.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,7 @@ def remove_none(d):
18391839
}
18401840

18411841
def build_alignment(self, props):
1842-
# TODO: text-indent -> alignment.indent
1842+
# TODO: text-indent, margin-left -> alignment.indent
18431843
return {'horizontal': props.get('text-align'),
18441844
'vertical': self.VERTICAL_MAP.get(props.get('vertical-align')),
18451845
'wrapText': (props['white-space'] not in (None, 'nowrap')
@@ -1971,7 +1971,7 @@ def color_to_excel(self, val):
19711971
'q': ('mm', .25),
19721972
}
19731973

1974-
FONT_SIZE_CONVERSIONS = unit_conversions.copy()
1974+
FONT_SIZE_CONVERSIONS = UNIT_CONVERSIONS.copy()
19751975
FONT_SIZE_CONVERSIONS.update({
19761976
'%': ('em', 1),
19771977
'xx-small': ('rem', .5),

0 commit comments

Comments
 (0)