@@ -90,7 +90,9 @@ def adjust_drawing_area(self, legend, orig_handle,
90
90
91
91
def scale_dimensions (self , legend , width , height , orig_handle ):
92
92
'''
93
- Return larger of input width/height or width/height of orig_handle
93
+ Return (width, height) where
94
+ width is the larger of input width or width of orig_handle and
95
+ height is the larger of input height or height or orig_handle
94
96
95
97
Parameters
96
98
----------
@@ -111,7 +113,7 @@ def scale_dimensions(self, legend, width, height, orig_handle):
111
113
def handle_width (self , legend , orig_handle ):
112
114
'''
113
115
Overriden in children classes if orig_handle could be larger
114
- than the default DrawingArea height, returns the height of the handler .
116
+ than the default DrawingArea height, returns the height of orig_handle .
115
117
116
118
Parameters
117
119
----------
@@ -127,7 +129,7 @@ def handle_width(self, legend, orig_handle):
127
129
def handle_height (self , legend , orig_handle ):
128
130
'''
129
131
Overriden in children classes if orig_handle could be larger
130
- than the default DrawingArea height, returns the height of the handler .
132
+ than the default DrawingArea height, returns the height of orig_handle .
131
133
132
134
Parameters
133
135
----------
@@ -758,7 +760,7 @@ def __init__(self, ndivide=1, pad=None, **kwargs):
758
760
759
761
def handle_width (self , legend , orig_handle ):
760
762
'''
761
- Returns width of largest handler in *orig_handler * tuple.
763
+ Returns width of largest handle in *orig_handle * tuple.
762
764
763
765
Parameters
764
766
----------
@@ -779,7 +781,7 @@ def handle_width(self, legend, orig_handle):
779
781
780
782
def handle_height (self , legend , orig_handle ):
781
783
'''
782
- Returns width of largest handler in *orig_handler * tuple.
784
+ Returns width of largest handle in *orig_handle * tuple.
783
785
784
786
Parameters
785
787
----------
0 commit comments