How to find the maximum range of a parameter in python?

70 views Asked by At

For example, in the pandas library, there is a module named - 'plotting' which has a method - 'scatter_matrix', which in turn has a parameter - 'alpha'. According to the python documentation, alpha is used to set the transparency of points on a graph. But it does not tell me what range its value should be in.

1

There are 1 answers

0
Péter Leéh On

According to pandas source the alpha parameter is passed to matplotlib, so I assume it means the same as described there:

alpha : float (0.0 transparent through 1.0 opaque)

This can be easily found in the pyplot API docs.