@@ -485,16 +485,31 @@ def axis(*v):
485485
486486def axes (* args , ** kwargs ):
487487 """
488- Add an axes at positon rect specified by::
488+ Add an axes at positon rect specified by::
489489
490- axes() by itself creates a default full subplot(111) window axis
490+ axes() by itself creates a default full subplot(111) window axis
491491
492- axes(rect, axisbg='w') where rect=[left, bottom, width, height] in
493- normalized (0,1) units. axisbg is the background color for the
494- axis, default white
492+ axes(rect, axisbg='w') where rect=[left, bottom, width, height] in
493+ normalized (0,1) units. axisbg is the background color for the
494+ axis, default white
495495
496- axes(h) where h is an axes instance makes h the
497- current axis An Axes instance is returned
496+ axes(h) where h is an axes instance makes h the
497+ current axis An Axes instance is returned
498+
499+ kwargs:
500+
501+ axisbg=color : the axes background color
502+ frameon=False : don't display the frame
503+ sharex=otherax : the current axes shares xaxis attribute with otherax
504+ sharey=otherax : the current axes shares yaxis attribute with otherax
505+
506+ Examples
507+
508+ examples/axes_demo.py places custom axes.
509+ examples/shared_axis_demo.py uses sharex and sharey
510+
511+
512+
498513 """
499514
500515 nargs = len (args )
@@ -1226,6 +1241,9 @@ def subplot(*args, **kwargs):
12261241 argument 'axisbg', which takes a color string or gdk.Color as value, as in
12271242
12281243 subplot(211, axisbg='y')
1244+
1245+ See help(axes) for additional information on axes and subplot
1246+ keyword arguments.
12291247 """
12301248
12311249 try :
0 commit comments