Skip to content

Commit 7191108

Browse files
committed
Update docs to use display.width instead of deprecated line_width.
1 parent 43b0473 commit 7191108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/dsintro.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,19 +630,19 @@ default:
630630
631631
DataFrame(randn(3, 12))
632632
633-
You can change how much to print on a single row by setting the ``line_width``
633+
You can change how much to print on a single row by setting the ``display.width``
634634
option:
635635

636636
.. ipython:: python
637637
638-
set_option('line_width', 40) # default is 80
638+
set_option('display.width', 40) # default is 80
639639
640640
DataFrame(randn(3, 12))
641641
642642
.. ipython:: python
643643
:suppress:
644644
645-
reset_option('line_width')
645+
reset_option('display.width')
646646
647647
You can also disable this feature via the ``expand_frame_repr`` option.
648648
This will print the table in one block.

0 commit comments

Comments
 (0)