Various plotting templates built on top of matplotlib
Project description
A collection of plotting functions
version: 2.0.4
This repository collects plotting modules written on top of matplotlib.
The functions are intended to set up light-touch, basic illustrations that
can be customised using the standard matplotlib interface via axes and figures.
Functionality is included to create illustrations commonly used in medical research,
covering forest plots, volcano plots, incidence matrices/bubble charts,
illustrations to evaluate prediction models (e.g. feature importance, net benefit, calibration plots),
and more.
The documentation for plot-misc can be found here.
Installation
The package is available on PyPI, and conda, with the latest source code available on gitlab.
Installation using PyPI
To install the package from PyPI, run:
pip install plot-misc
This installs the latest stable release along with its dependencies.
Installation using conda
A Conda package is maintained in my personal Conda channel. To install from this channel, run:
conda install afschmidt::plot_misc
Installation using gitlab
If you require the latest updates, potentially not yet formally released, you can install the package directly from GitLab.
First, clone the repository and move into its root directory:
git clone git@gitlab.com:SchmidtAF/plot-misc.git
cd plot-misc
Install the dependencies:
# From the root of the repository
conda env create --file ./resources/conda/envs/conda_create.yaml
To add to an existing environment use:
# From the root of the repository
conda env update --file ./resources/conda/envs/conda_update.yaml
Next the package can be installed:
python -m pip install .
Or for an editable (developer) install run the command below from the
root of the repository.
The difference with this is that you can just run git pull to
update repository, or switch branches without re-installing:
python -m pip install -e .
Validating the package
After installing the package from GitLab, you may wish to run the test suite to confirm everything is working as expected:
# From the root of the repository
pytest tests
Usage
Please have a look at the examples in resources for some possible recipes.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 plot_misc-2.0.4.tar.gz.
File metadata
- Download URL: plot_misc-2.0.4.tar.gz
- Upload date:
- Size: 127.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca546968b17847039db9248874e960357b0c68f96cb2f9f9a8e7e67044776bea
|
|
| MD5 |
c112ba0ed12bcf950b11a66064a6b334
|
|
| BLAKE2b-256 |
88ac1c9bf204eadfdbfb85327586aaa6b9d259de940e9f9853fa718f56a9a92c
|
File details
Details for the file plot_misc-2.0.4-py3-none-any.whl.
File metadata
- Download URL: plot_misc-2.0.4-py3-none-any.whl
- Upload date:
- Size: 131.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77193d82230061dfd7abf3904f8bddbf246b734abd2e13b7cc496b9d07b99ceb
|
|
| MD5 |
674512fd616b34abc3c90b57190079a0
|
|
| BLAKE2b-256 |
54f1ab9d95752c29f9a30673a8f3702353010e9f960d367ceff61c0cdd7a8f0b
|