Skip to content

Commit c74ec19

Browse files
authored
Merge pull request #2777 from eguven/patch-1
add missing import to doc example
2 parents 9a19862 + 97a7add commit c74ec19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/layout.rst

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ Setting renderables
7474

7575
The first position argument to ``Layout`` can be any Rich renderable, which will be sized to fit within the layout's area. Here's how we might divide the "right" layout in to two panels::
7676

77+
from rich.panel import Panel
78+
7779
layout["right"].split(
7880
Layout(Panel("Hello")),
7981
Layout(Panel("World!"))

0 commit comments

Comments
 (0)