@@ -436,6 +436,14 @@ class VPacker(PackerBase):
436
436
"""
437
437
VPacker packs its children vertically, automatically adjusting their
438
438
relative positions at draw time.
439
+
440
+ .. code-block:: none
441
+
442
+ +---------+
443
+ | Child 1 |
444
+ | Child 2 |
445
+ | Child 3 |
446
+ +---------+
439
447
"""
440
448
441
449
def _get_bbox_and_child_offsets (self ,renderer ):
@@ -468,6 +476,12 @@ class HPacker(PackerBase):
468
476
"""
469
477
HPacker packs its children horizontally, automatically adjusting their
470
478
relative positions at draw time.
479
+
480
+ .. code-block:: none
481
+
482
+ +-------------------------------+
483
+ | Child 1 Child 2 Child 3 |
484
+ +-------------------------------+
471
485
"""
472
486
473
487
def _get_bbox_and_child_offsets (self ,renderer ):
@@ -498,6 +512,26 @@ class PaddedBox(OffsetBox):
498
512
499
513
The `.PaddedBox` contains a `.FancyBboxPatch` that is used to visualize
500
514
it when rendering.
515
+
516
+ .. code-block:: none
517
+
518
+ +----------------------------+
519
+ | |
520
+ | |
521
+ | |
522
+ | <--pad--> Artist |
523
+ | ^ |
524
+ | pad |
525
+ | v |
526
+ +----------------------------+
527
+
528
+ Attributes
529
+ ----------
530
+ pad : float
531
+ The padding in points.
532
+ patch : `.FancyBboxPatch`
533
+ When *draw_frame* is True, this `.FancyBboxPatch` is made visible and
534
+ creates a border around the box.
501
535
"""
502
536
503
537
def __init__ (self ,child ,pad = 0. ,* ,draw_frame = False ,patch_attrs = None ):