@@ -845,7 +845,7 @@ def set_position(self, pos, which='both'):
845845 pos : [left, bottom, width, height] or `~matplotlib.transforms.Bbox`
846846 The new position of the in `.Figure` coordinates.
847847
848- which : [ 'both' | 'active' | 'original'] , optional
848+ which : { 'both', 'active', 'original'} , optional
849849 Determines which position variables to change.
850850
851851 """
@@ -1210,7 +1210,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
12101210
12111211 Parameters
12121212 ----------
1213- aspect : [ 'auto' | 'equal'] or num
1213+ aspect : { 'auto', 'equal'} or num
12141214 Possible values:
12151215
12161216 ======== ================================================
@@ -1223,7 +1223,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
12231223 aspect='equal'.
12241224 ======== ================================================
12251225
1226- adjustable : None or [ 'box' | 'datalim'] , optional
1226+ adjustable : None or { 'box', 'datalim'} , optional
12271227 If not ``None``, this defines which parameter will be adjusted to
12281228 meet the required aspect. See `.set_adjustable` for further
12291229 details.
@@ -1284,7 +1284,7 @@ def set_adjustable(self, adjustable, share=False):
12841284
12851285 Parameters
12861286 ----------
1287- adjustable : [ 'box' | 'datalim']
1287+ adjustable : { 'box', 'datalim'}
12881288 If 'box', change the physical dimensions of the Axes.
12891289 If 'datalim', change the ``x`` or ``y`` data limits.
12901290
@@ -2313,7 +2313,7 @@ def autoscale(self, enable=True, axis='both', tight=None):
23132313 True (default) turns autoscaling on, False turns it off.
23142314 None leaves the autoscaling state unchanged.
23152315
2316- axis : [ 'both' | 'x' | 'y'] , optional
2316+ axis : { 'both', 'x', 'y'} , optional
23172317 which axis to operate on; default is 'both'
23182318
23192319 tight: bool or None, optional
@@ -2782,7 +2782,7 @@ def locator_params(self, axis='both', tight=None, **kwargs):
27822782
27832783 Parameters
27842784 ----------
2785- axis : [ 'both' | 'x' | 'y'] , optional
2785+ axis : { 'both', 'x', 'y'} , optional
27862786 The axis on which to operate.
27872787
27882788 tight : bool or None, optional
0 commit comments