Visualization of a Correlation Matrix using plotnine
Project description
ggcorrplot: Visualization of a correlation matrix using plotnine
ggcorrplot is an open source Python package dedicated to matrix of correlation visualization. It os distributed under the MIT License.
Contents
1. Overview
2. Installation
3. Example
5. About us
Overview
The ggcorrplot package can be used to visualize easily a correlation matrix using plotnine. It provides a solution for reordering the correlation matrix and displays the significance level on the correlogram. It includes also a function for computing a matrix of correlation p-values.
ggcorrplot package provides three functions:
cor_pmatwhich computes a matrix of correlation p-values.get_meltwhich convert DataFrama from wide to longggcorrplotfor correlation matrix visualization
Installation
Global environment
You can directly install discrimintools using pip :
pip install ggcorrplot
or set a virtual environment.
Virtual environment
Install the 64-bit version of Python 3, for instance from the official website. Now create a virtual environment (venv) and install ggcorrplot.
The virtual environment is optional but strongly recommended, in order to avoid potential conflicts with other packages.
PS C:\> python -m venv ggcorrplot-env # create virtual env
PS C:\> ggcorrplot-env\Scripts\activate # activate
PS C:\> pip install -U ggcorrplot # install ggcorrplot
Version
In order to check your installation, you can use.
import ggcorrplot
print(ggcorrplot.__version__)
Using an isolated environment such as pip venv or conda makes it possible to install a specific version of discrimintools with pip and conda and its dependencies independently of any previously installed Python packages.
You should always remember to activate the environment of your choice prior to running any Python command whenever you start a new terminal session.
Dependencies
ggcorrplot is compatible with python version which supports both dependencies :
| Packages | Version |
|---|---|
| numpy | 2.3.4 |
| pandas | 2.3.3 |
| scipy | 1.16.3 |
| plotnine | 0.15.1 |
Example
See examples
Documentation
The official documentation is hosted on https://discrimintools.readthedocs.io.
About Us
Authors
ggcorrplot is developed and maintained by Duvérier DJIFACK ZEBAZE, the founder of djifacklab (Djifack Laboratory of Mathematics, Statistics and Economics books and packages production using Python Programming Language).
The djifacklab laboratory maintains others python librairies such as scientisttools, scientistmetrics, scientistshiny, scientisttseries and discrimintools.
Feedbacks
If you have found ggcorrplot useful in your work, research, or company, please let us know by writing to email djifacklab@gmail.com.
Citing ggcorrplot
If ggcorrplot has been significant in your research, and you would like to acknowledge the project in your academic publication, we suggest citing it using the following BibTeX format:
@misc{DJIFACK ZEBAZE_2023,
url = {https://github.com/enfantbenidedieu/ggcorrplot},
journal = {ggcorrplot},
publisher = {ggcorrplot: Visualization of a correlation matrix using plotnine},
author = {DJIFACK ZEBAZE, Duvérier},
year = {2023}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ggcorrplot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ggcorrplot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d4bdaaf43fceba6d59e62b6df08fe39352b68cd9e9f02081716a0872208ae4
|
|
| MD5 |
08ad77e40c3635d54a83cd7c88f4f567
|
|
| BLAKE2b-256 |
fa58c098b17ae637ac2ae624cfc3a02a526dbbafd2f7102d52888964dd70e682
|