Skip to main content

Enhance plots with the signature Biolizard aesthetic for matplotlib and seaborn.

Project description

BioLizardStylePython

Enhance plots with the signature Biolizard aesthetic for matplotlib and seaborn.

Installation

1. Extra requirements

BioLizardStylePython relies on the colorspace package, which is not available on the Python Package Index (PyPI). However, it is hosted on GitHub and needs to be installed directly from there. To install the colorspace package, please run the following command in your terminal:

pip install git+https://github.com/retostauffer/python-colorspace.git

Once you've successfully installed colorspace, you can proceed with the installation and usage of BioLizardStylePython.

2. Package Installation

The BioLizardStylePython package is available on PyPI and can be easily installed using:

pip install BioLizardStylePython

3. Font package

The BioLizardStyleR package makes use of the signature BioLizard font 'Lato'. This font can be found on Google Fonts under an open font license. The font has been packaged using the Python Fonts module and should be installed automatically when installing BioLizardStylePython. See font-lato for more information.

Usage

1. Styling Function: lizard_style()

This function applies a BioLizard aesthetic to your matplotlib or seaborn plots. The aim is to ensure that plots maintain a uniform look, irrespective of whether they were made in R or Python.

2. BioLizard Color Palettes

These are qualitative, sequential, and divergent color maps that can be applied to your plots. The palettes are designed using BioLizard's house colors, keeping perceptual uniformity and color-blind friendliness in mind. For more information, consult the help documentation specific to each function.

3. Finalizing and Exporting Plots: finalise_lizardplot()

This function adds a BioLizard footer beneath your graph and exports it to a specified format such as PNG or PDF. The footer includes the BioLizard logo at the bottom right corner and leaves room for source text.

Contributing and Feedback

Contributions and feedback are very welcome and much appreciated.

Issues can be reported on github.

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

biolizardstylepython-1.0.0.tar.gz (7.2 MB view details)

Uploaded Source

Built Distribution

biolizardstylepython-1.0.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file biolizardstylepython-1.0.0.tar.gz.

File metadata

  • Download URL: biolizardstylepython-1.0.0.tar.gz
  • Upload date:
  • Size: 7.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for biolizardstylepython-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dbf99563ffb603d04a54a7e003a68cf0671ef78df7a909f12538db446163197f
MD5 2d0dd4160900cc331a5fbbf3c8afcbb7
BLAKE2b-256 510efc0447061884abd7a21baaf9e07008dfb08e66c168b32ad472fb787894be

See more details on using hashes here.

File details

Details for the file biolizardstylepython-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for biolizardstylepython-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff1c71ca8f4485aeef0027d9a64799607407af22a3b87e6dff86600f60c9bb45
MD5 8b270d3639bb7ba6f192cbdf9cb53f35
BLAKE2b-256 2b01e1eb7e4c97d06e1b2e78a0c024142935291574cffe3f64d1ea433932894a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page