@@ -3010,7 +3010,9 @@ def parametric(self, x, y, c, *, interp=0, scalex=True, scaley=True, **kwargs):
3010
3010
kw .update (_pop_props (kw , 'collection' ))
3011
3011
kw , extents = self ._inbounds_extent (** kw )
3012
3012
label = _not_none (** {key : kw .pop (key , None ) for key in ('label' , 'value' )})
3013
- x , y , kw = self ._parse_1d_args (x , y , autovalues = True , autoreverse = False , values = c , ** kw ) # noqa: E501
3013
+ x , y , kw = self ._parse_1d_args (
3014
+ x , y , values = c , autovalues = True , autoreverse = False , ** kw
3015
+ )
3014
3016
c = kw .pop ('values' , None ) # permits auto-inferring values
3015
3017
c = np .arange (y .size ) if c is None else inputs ._to_numpy_array (c )
3016
3018
if (
@@ -3458,14 +3460,18 @@ def pie(self, x, explode, *, labelpad=None, labeldistance=None, **kwargs):
3458
3460
"""
3459
3461
kw = kwargs .copy ()
3460
3462
pad = _not_none (labeldistance = labeldistance , labelpad = labelpad , default = 1.15 )
3461
- props = _pop_props (kw , 'patch' )
3463
+ wedge_kw = kw .pop ('wedgeprops' , None ) or {}
3464
+ wedge_kw .update (_pop_props (kw , 'patch' ))
3462
3465
edgefix_kw = _pop_params (kw , self ._fix_patch_edges )
3463
- _ , x , kw = self ._parse_1d_args (x , autox = False , autoy = False , ** kw )
3466
+ _ , x , kw = self ._parse_1d_args (
3467
+ x , autox = False , autoy = False , autoreverse = False , ** kw
3468
+ )
3464
3469
kw = self ._parse_cycle (x .size , ** kw )
3465
- kw ['labeldistance' ] = pad
3466
- objs = self ._call_native ('pie' , x , explode , wedgeprops = props , ** kw )
3470
+ objs = self ._call_native (
3471
+ 'pie' , x , explode , labeldistance = pad , wedgeprops = wedge_kw , ** kw
3472
+ )
3467
3473
objs = tuple (cbook .silent_list (type (seq [0 ]).__name__ , seq ) for seq in objs )
3468
- self ._fix_patch_edges (objs [0 ], ** edgefix_kw , ** props )
3474
+ self ._fix_patch_edges (objs [0 ], ** edgefix_kw , ** wedge_kw )
3469
3475
return objs
3470
3476
3471
3477
@staticmethod
@@ -3735,7 +3741,9 @@ def _apply_hist(
3735
3741
# adds them to the first elements in the container for each column
3736
3742
# of the input data. Make sure that legend() will read both containers
3737
3743
# and individual items inside those containers.
3738
- _ , xs , kw = self ._parse_1d_args (xs , orientation = orientation , ** kwargs )
3744
+ _ , xs , kw = self ._parse_1d_args (
3745
+ xs , autoreverse = False , orientation = orientation , ** kwargs
3746
+ )
3739
3747
fill = _not_none (fill = fill , filled = filled )
3740
3748
stack = _not_none (stack = stack , stacked = stacked )
3741
3749
if fill is not None :
@@ -3793,10 +3801,10 @@ def hist2d(self, x, y, bins, **kwargs):
3793
3801
"""
3794
3802
%(plot.hist2d)s
3795
3803
"""
3796
- # Rely on pcolormesh() override for this.
3804
+ # Rely on the pcolormesh() override for this.
3797
3805
if bins is not None :
3798
3806
kwargs ['bins' ] = bins
3799
- return super ().hist2d (x , y , default_discrete = False , ** kwargs )
3807
+ return super ().hist2d (x , y , autoreverse = False , default_discrete = False , ** kwargs )
3800
3808
3801
3809
# WARNING: breaking change from native 'C'
3802
3810
@inputs ._preprocess_or_redirect ('x' , 'y' , 'weights' )
@@ -3809,7 +3817,10 @@ def hexbin(self, x, y, weights, **kwargs):
3809
3817
# WARNING: Cannot use automatic level generation here until counts are
3810
3818
# estimated. Inside _parse_level_vals if no manual levels were provided then
3811
3819
# _parse_level_num is skipped and args like levels=10 or locator=5 are ignored
3812
- x , y , kw = self ._parse_1d_args (x , y , autovalues = True , ** kwargs )
3820
+ kw = kwargs .copy ()
3821
+ x , y , kw = self ._parse_1d_args (
3822
+ x , y , autoreverse = False , autovalues = True , ** kw
3823
+ )
3813
3824
kw .update (_pop_props (kw , 'collection' )) # takes LineCollection props
3814
3825
kw = self ._parse_cmap (x , y , y , skip_autolev = True , default_discrete = False , ** kw )
3815
3826
norm = kw .get ('norm' , None )
0 commit comments