@@ -2698,7 +2698,8 @@ def boxplot(x, notch=None, sym=None, vert=None, whis=None, positions=None,
2698
2698
conf_intervals = None , meanline = None , showmeans = None , showcaps = None ,
2699
2699
showbox = None , showfliers = None , boxprops = None , labels = None ,
2700
2700
flierprops = None , medianprops = None , meanprops = None , capprops = None ,
2701
- whiskerprops = None , manage_xticks = True , hold = None , data = None ):
2701
+ whiskerprops = None , manage_xticks = True , autorange = False , zorder = None ,
2702
+ hold = None , data = None ):
2702
2703
ax = gca ()
2703
2704
# allow callers to override the hold state by passing hold=True|False
2704
2705
washold = ax .ishold ()
@@ -2717,7 +2718,8 @@ def boxplot(x, notch=None, sym=None, vert=None, whis=None, positions=None,
2717
2718
flierprops = flierprops , medianprops = medianprops ,
2718
2719
meanprops = meanprops , capprops = capprops ,
2719
2720
whiskerprops = whiskerprops ,
2720
- manage_xticks = manage_xticks , data = data )
2721
+ manage_xticks = manage_xticks , autorange = autorange ,
2722
+ zorder = zorder , data = data )
2721
2723
finally :
2722
2724
ax .hold (washold )
2723
2725
@@ -2950,7 +2952,7 @@ def hexbin(x, y, C=None, gridsize=100, bins=None, xscale='linear',
2950
2952
# This function was autogenerated by boilerplate.py. Do not edit as
2951
2953
# changes will be lost
2952
2954
@_autogen_docstring (Axes .hist )
2953
- def hist (x , bins = 10 , range = None , normed = False , weights = None , cumulative = False ,
2955
+ def hist (x , bins = None , range = None , normed = False , weights = None , cumulative = False ,
2954
2956
bottom = None , histtype = 'bar' , align = 'mid' , orientation = 'vertical' ,
2955
2957
rwidth = None , log = False , color = None , label = None , stacked = False ,
2956
2958
hold = None , data = None , ** kwargs ):
@@ -3378,7 +3380,8 @@ def step(x, y, *args, **kwargs):
3378
3380
@_autogen_docstring (Axes .streamplot )
3379
3381
def streamplot (x , y , u , v , density = 1 , linewidth = None , color = None , cmap = None ,
3380
3382
norm = None , arrowsize = 1 , arrowstyle = '-|>' , minlength = 0.1 ,
3381
- transform = None , zorder = 2 , start_points = None , hold = None , data = None ):
3383
+ transform = None , zorder = None , start_points = None , hold = None ,
3384
+ data = None ):
3382
3385
ax = gca ()
3383
3386
# allow callers to override the hold state by passing hold=True|False
3384
3387
washold = ax .ishold ()
@@ -3815,20 +3818,6 @@ def winter():
3815
3818
im .set_cmap (cm .winter )
3816
3819
3817
3820
3818
- # This function was autogenerated by boilerplate.py. Do not edit as
3819
- # changes will be lost
3820
- def spectral ():
3821
- '''
3822
- set the default colormap to spectral and apply to current image if any.
3823
- See help(colormaps) for more information
3824
- '''
3825
- rc ('image' , cmap = 'spectral' )
3826
- im = gci ()
3827
-
3828
- if im is not None :
3829
- im .set_cmap (cm .spectral )
3830
-
3831
-
3832
3821
# This function was autogenerated by boilerplate.py. Do not edit as
3833
3822
# changes will be lost
3834
3823
def magma ():
@@ -3884,4 +3873,39 @@ def viridis():
3884
3873
if im is not None :
3885
3874
im .set_cmap (cm .viridis )
3886
3875
3876
+
3877
+ # This function was autogenerated by boilerplate.py. Do not edit as
3878
+ # changes will be lost
3879
+ def nipy_spectral ():
3880
+ '''
3881
+ set the default colormap to nipy_spectral and apply to current image if any.
3882
+ See help(colormaps) for more information
3883
+ '''
3884
+ rc ('image' , cmap = 'nipy_spectral' )
3885
+ im = gci ()
3886
+
3887
+ if im is not None :
3888
+ im .set_cmap (cm .nipy_spectral )
3889
+
3890
+
3891
+ # This function was autogenerated by boilerplate.py. Do not edit as
3892
+ # changes will be lost
3893
+ def spectral ():
3894
+ '''
3895
+ set the default colormap to spectral and apply to current image if any.
3896
+ See help(colormaps) for more information
3897
+ '''
3898
+ from matplotlib .cbook import warn_deprecated
3899
+ warn_deprecated (
3900
+ "2.0" ,
3901
+ name = "spectral" ,
3902
+ obj_type = "colormap"
3903
+ )
3904
+
3905
+ rc ('image' , cmap = 'spectral' )
3906
+ im = gci ()
3907
+
3908
+ if im is not None :
3909
+ im .set_cmap (cm .spectral )
3910
+
3887
3911
_setup_pyplot_info_docstrings ()
0 commit comments