Skip to main content

A package for creating old school style plots

Project description

plotdelice 📊

A collection of functions to plot old school style graphs with significance bars and automated stat testing (still verify it is the adequate test for your data).

Install

pip install PlotDelice

Gallery

Violin plot

from plotdelice.graphs import violinplot_delice, scatterplot_delice, markerplot_delice, barplot_delice
import pandas as pd

# read data
df = pd.read_csv("path_to_your_file.csv")

# define what you want to plot
x_group = "genotype"
y_variable = "angle"
y_label = r'Somite Angle [°]'

# plot
violinplot_delice(df,x_group,y_variable,violin_width=0.8,y_label=y_label,palette="Greens_d",point_size=40,jitter=0.09)

alt text

Scatter plot alt text Custom marker plot

from svgpath2mpl import parse_path

# df['coords'] contains an svg path for each custom marker
df['coords'] = df['coords'].apply(parse_path)
fig, axs = markerplot_delice(df,"solidity","eccentricity","kmeans","coords",add_regression='logx',palette='Set2',figsize=(10,5))

alt text

Project details


Release history Release notifications | RSS feed

This version

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotdelice-0.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

PlotDelice-0.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file plotdelice-0.5.tar.gz.

File metadata

  • Download URL: plotdelice-0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for plotdelice-0.5.tar.gz
Algorithm Hash digest
SHA256 6dc4c66b532071a5966450f0685773ed6d7dd096de35597a48074ca6576bc5db
MD5 bf0ea933a8139634bc7d40da18c95690
BLAKE2b-256 b3e1307e40ddc67af8eb1a484c356d729af0b76f1e00fc7c7ba1112334f0360b

See more details on using hashes here.

File details

Details for the file PlotDelice-0.5-py3-none-any.whl.

File metadata

  • Download URL: PlotDelice-0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for PlotDelice-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 57f61b3c9ac366e4d17f8c939e4a5aad2b0817b5b948a07deee310bbbf7c3665
MD5 2740ebe480bfd3a03e3e9ff0e35f279d
BLAKE2b-256 2b667ef28fe61b66cc70dacd76d6885672e64b59f09c8e1bcf7225c51893db24

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