Skip to content

Commit 55248f3

Browse files
Merge pull request #7669 from lexual/docs_use_display_width
Update docs to use display.width instead of deprecated line_width.
2 parents 43b0473 + 7191108 commit 55248f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/dsintro.rst

+3-3
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)