@@ -2698,7 +2698,8 @@ def boxplot(x, notch=None, sym=None, vert=None, whis=None, positions=None,
26982698 conf_intervals = None , meanline = None , showmeans = None , showcaps = None ,
26992699 showbox = None , showfliers = None , boxprops = None , labels = None ,
27002700 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 ):
27022703 ax = gca ()
27032704 # allow callers to override the hold state by passing hold=True|False
27042705 washold = ax .ishold ()
@@ -2717,7 +2718,8 @@ def boxplot(x, notch=None, sym=None, vert=None, whis=None, positions=None,
27172718 flierprops = flierprops , medianprops = medianprops ,
27182719 meanprops = meanprops , capprops = capprops ,
27192720 whiskerprops = whiskerprops ,
2720- manage_xticks = manage_xticks , data = data )
2721+ manage_xticks = manage_xticks , autorange = autorange ,
2722+ zorder = zorder , data = data )
27212723 finally :
27222724 ax .hold (washold )
27232725
@@ -2950,7 +2952,7 @@ def hexbin(x, y, C=None, gridsize=100, bins=None, xscale='linear',
29502952# This function was autogenerated by boilerplate.py. Do not edit as
29512953# changes will be lost
29522954@_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 ,
29542956 bottom = None , histtype = 'bar' , align = 'mid' , orientation = 'vertical' ,
29552957 rwidth = None , log = False , color = None , label = None , stacked = False ,
29562958 hold = None , data = None , ** kwargs ):
@@ -3378,7 +3380,8 @@ def step(x, y, *args, **kwargs):
33783380@_autogen_docstring (Axes .streamplot )
33793381def streamplot (x , y , u , v , density = 1 , linewidth = None , color = None , cmap = None ,
33803382 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 ):
33823385 ax = gca ()
33833386 # allow callers to override the hold state by passing hold=True|False
33843387 washold = ax .ishold ()
@@ -3815,20 +3818,6 @@ def winter():
38153818 im .set_cmap (cm .winter )
38163819
38173820
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-
38323821# This function was autogenerated by boilerplate.py. Do not edit as
38333822# changes will be lost
38343823def magma ():
@@ -3884,4 +3873,39 @@ def viridis():
38843873 if im is not None :
38853874 im .set_cmap (cm .viridis )
38863875
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+
38873911_setup_pyplot_info_docstrings ()
0 commit comments