I
I
Ivan Melnikov2021-11-06 00:28:55
Python
Ivan Melnikov, 2021-11-06 00:28:55

Why is the alpha parameter for Series.hist() missing from the pandas documentation?

Why is there no alpha parameter in the documentation for Series.hist()?
At the same time, the code with this parameter works:
6185a20a67704633149423.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stefan, 2021-11-06
@immelnikoff

Reading letters from the dock


**kwargs
To be passed to the actual plotting function.

Now let's see what Series.hist() returns us
matplotlib.AxesSubplot

And then we go to the matplotlib dock by axes and see what the constructor takes, and lo and behold, as
6185d132c5d85069390096.png
well as a bunch of other arguments that are not described in the dock by Series.hist ()
We conclude that developers should not describe the functionality for which they do not they answer, it’s not pandas a matplotlib that builds the graphs, so they wrote what they are specifically responsible for, and the rest, kindly look at it yourself, because we don’t answer for what they update and clarify in their matplotlib

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question