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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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