Read the documentation.
If you make use of this code, please cite the JOSS paper:
@article{corner,
doi = {10.21105/joss.00024},
url = {https://doi.org/10.21105/joss.00024},
year = {2016},
month = {jun},
publisher = {The Open Journal},
volume = {1},
number = {2},
pages = {24},
author = {Daniel Foreman-Mackey},
title = {corner.py: Scatterplot matrices in Python},
journal = {The Journal of Open Source Software}
}