@@ -95,10 +95,10 @@ def _get_packed_offsets(wd_list, total, sep, mode="fixed"):
9595
9696def _get_aligned_offsets (hd_list , height , align = "baseline" ):
9797 """
98- Geiven a list of (height, descent) of each boxes, align the boxes
98+ Given a list of (height, descent) of each boxes, align the boxes
9999 with *align* and calculate the y-offsets of each boxes.
100100 total width and the offset positions of each items according to
101- *mode*. xdescent is analagous to the usual descent, but along the
101+ *mode*. xdescent is analogous to the usual descent, but along the
102102 x-direction. xdescent values are currently ignored.
103103
104104 *hd_list* : list of (width, xdescent) of boxes to be aligned.
@@ -257,7 +257,7 @@ def __init__(self, pad=None, sep=None, width=None, height=None,
257257
258258 .. note::
259259 *pad* and *sep* need to given in points and will be
260- scale with the renderer dpi, while *width* and *hight *
260+ scale with the renderer dpi, while *width* and *height *
261261 need to be in pixels.
262262 """
263263 super (PackerBase , self ).__init__ ()
@@ -275,7 +275,7 @@ def __init__(self, pad=None, sep=None, width=None, height=None,
275275class VPacker (PackerBase ):
276276 """
277277 The VPacker has its children packed vertically. It automatically
278- adjust the relative postisions of children in the drawing time.
278+ adjust the relative positions of children in the drawing time.
279279 """
280280 def __init__ (self , pad = None , sep = None , width = None , height = None ,
281281 align = "baseline" , mode = "fixed" ,
@@ -290,7 +290,7 @@ def __init__(self, pad=None, sep=None, width=None, height=None,
290290
291291 .. note::
292292 *pad* and *sep* need to given in points and will be
293- scale with the renderer dpi, while *width* and *hight *
293+ scale with the renderer dpi, while *width* and *height *
294294 need to be in pixels.
295295 """
296296 super (VPacker , self ).__init__ (pad , sep , width , height ,
@@ -342,7 +342,7 @@ def get_extent_offsets(self, renderer):
342342class HPacker (PackerBase ):
343343 """
344344 The HPacker has its children packed horizontally. It automatically
345- adjust the relative postisions of children in the drawing time.
345+ adjust the relative positions of children in the drawing time.
346346 """
347347 def __init__ (self , pad = None , sep = None , width = None , height = None ,
348348 align = "baseline" , mode = "fixed" ,
@@ -357,7 +357,7 @@ def __init__(self, pad=None, sep=None, width=None, height=None,
357357
358358 .. note::
359359 *pad* and *sep* need to given in points and will be
360- scale with the renderer dpi, while *width* and *hight *
360+ scale with the renderer dpi, while *width* and *height *
361361 need to be in pixels.
362362 """
363363 super (HPacker , self ).__init__ (pad , sep , width , height ,
@@ -366,7 +366,7 @@ def __init__(self, pad=None, sep=None, width=None, height=None,
366366
367367 def get_extent_offsets (self , renderer ):
368368 """
369- update offset of childrens and return the extents of the box
369+ update offset of children and return the extents of the box
370370 """
371371
372372 dpicor = renderer .points_to_pixels (1. )
@@ -414,7 +414,7 @@ def __init__(self, child, pad=None, draw_frame=False, patch_attrs=None):
414414
415415 .. note::
416416 *pad* need to given in points and will be
417- scale with the renderer dpi, while *width* and *hight *
417+ scale with the renderer dpi, while *width* and *height *
418418 need to be in pixels.
419419 """
420420
@@ -770,12 +770,12 @@ class AuxTransformBox(OffsetBox):
770770 Offset Box with the aux_transform . Its children will be
771771 transformed with the aux_transform first then will be
772772 offseted. The absolute coordinate of the aux_transform is meaning
773- as it will be automaticcaly adjust so that the left-lower corner
773+ as it will be automatically adjust so that the left-lower corner
774774 of the bounding box of children will be set to (0,0) before the
775- offset trnasform .
775+ offset transform .
776776
777777 It is similar to drawing area, except that the extent of the box
778- is not predetemined but calculated from the window extent of its
778+ is not predetermined but calculated from the window extent of its
779779 children. Furthermore, the extent of the children will be
780780 calculated in the transformed coordinate.
781781 """
@@ -820,7 +820,7 @@ def set_offset(self, xy):
820820 """
821821 set offset of the container.
822822
823- Accept : tuple of x,y cooridnate in disokay units.
823+ Accept : tuple of x,y coordinate in disokay units.
824824 """
825825 self ._offset = xy
826826
@@ -882,7 +882,7 @@ class AnchoredOffsetbox(OffsetBox):
882882 """
883883 An offset box placed according to the legend location
884884 loc. AnchoredOffsetbox has a single child. When multiple children
885- is needed, use other OffsetBox class to enlose them. By default,
885+ is needed, use other OffsetBox class to enclose them. By default,
886886 the offset box is anchored against its parent axes. You may
887887 explicitly specify the bbox_to_anchor.
888888 """
@@ -1197,7 +1197,7 @@ def get_zoom(self):
11971197# """
11981198# set offset of the container.
11991199
1200- # Accept : tuple of x,y cooridnate in disokay units.
1200+ # Accept : tuple of x,y coordinate in disokay units.
12011201# """
12021202# self._offset = xy
12031203
0 commit comments