Skip to content

Commit 44a539d

Browse files
author
Kevin D Smith
committed
Make sure a display.width of None gets set to a default value
1 parent 804239c commit 44a539d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swat/cas/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def _format_actionset_doc(cls, asinfo):
491491
doc.append('')
492492
doc.append('Actions')
493493
doc.append('-------')
494-
display_width = pd.options.display.width
494+
display_width = pd.options.display.width or 80
495495
width = 0
496496
for item in actions:
497497
width = max(width, len(item['name']))

0 commit comments

Comments
 (0)