Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Posts

Stacked Step Plot

1 minute read

Published:

Matplotlib provides a stackplot, which stacks area, and a step plot, which provides steps, but there is no stacked step plot. This is useful when you have some accumulating resource that have different types that begin and end all at once. I personally had a need for this when I wanted to visualize my man-month commitment to my company’s funded projects over the next 7 years.

Grouped Bar Plot

1 minute read

Published:

I often have a need to plot a grouped bar plot. Matplotlib provides this example, which is helpful, but not quite generalizable enough for my needs, as it only shows how to group 2 categories together. Here is a generalization of that tutorial that was very helpful for me and I hope is helpful for others as well.

Git Timesheet

2 minute read

Published:

I recently faced a situation where I needed to assess the amount of work done by each member of a team on a project that has spanned over a year. That project has a git repo, and I could see when each person made a commit. I decided to break it down by weeks. Whenever a person submitted any commit to the repo on any branch, I counted them as working on the project for that week. Of course this is imperfect- someone could work a lot and make no commits for that week and someone could have submitted a commit but might have worked very little. Still, this seems like the most fair way to assess work I could think of.

Spiral Plot

2 minute read

Published:

Let’s use for example Google Trends results for the search term “gifts.” Google offers this plot:

brokenaxes

less than 1 minute read

Published:

broken python snake

OSX Jupyter Launcher

1 minute read

Published:

If you use Jupyter on a regular basis, the steps to launch a notebook are probably second nature, but if you take a step back, it involves a lot of prior knowledge. A few times I’ve tried to bring brand new eager programmers into the glorious land of Python and Jupyter, but each time I found that the whole flow was really bogged down by this preamble that is pretty technical. I’ll give them an .ipynb file and then show them how to open it

tenseflow

1 minute read

Published:

tenseflow app

portfolio

Broken axes

Package for creating broken axis plots in matplotlib

publications

talks

teaching

Teaching experience 1

Undergraduate course, University 1, Department, 2014

This is a description of a teaching experience. You can use markdown like any other post.

Teaching experience 2

Workshop, University 1, Department, 2015

This is a description of a teaching experience. You can use markdown like any other post.