There's no range argument in pandas.Series.plot.hist or pandas.Series.plot. But the code below works. How does it work?
#wnba is Dataframe, so wnba['PTS'] is series.
wnba['PTS'].plot.hist(range = (1,600), bins = 3)
There's no range argument in pandas.Series.plot.hist or pandas.Series.plot. But the code below works. How does it work?
#wnba is Dataframe, so wnba['PTS'] is series.
wnba['PTS'].plot.hist(range = (1,600), bins = 3)
 
    
    plot.hist takes **kwds so, already, however you call it (with whatever keyword args), it'll have a correct syntax.
Semantically:
hist calls self by passing kind='hist' argument, self.__call__, plot_series that establishes the ax layer through the _get_ax_layer method, _plot is called with this ax and with the kind='hist' argument range kwarg via range=self.kwds.get('range', None)It's all a matter of patiently following the breadcrumbs.
