Skip to content

moltaire/myplotlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myplotlib

myplotlib style

My custom matplotlib stuff. I got inspired to do this by this blogpost and this PyData Talk.

This is very much a work in progress. See the gallery notebook for function calls, example data, etc.

Currently included:

Plots

Histogram

histogram

Violin plot

violin

Scatter plot

scatter

Linear Model plot

lm

Factorial heatmap

factorial

Model recovery plot

adapted from

model_recovery

Utilities

Subplot labelling

label axes

Annotation

annotation

Axis breaking

Note that this is purely visual, and does not change the actual plotted data. I use it to better communicate if I set limits so that 0 is excluded from the range of values, but still want the axis origin to be labelled 0.

axis breaking

Stats

BMS

Basic, sampling based python implementation of the model selection procedure described in

bmsResult = bms(L=L, cores=1)

The bmsResult is a dictionary that contains a summary of the MCMC chain, an array of exceedance probabilities xp and an array of model rates r.

About

Custom matplotlib stuff.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published