简体   繁体   中英

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

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.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM