Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Add images Aug 26, 2015
.gitignore Initial commit Aug 24, 2015
LICENSE.md Create LICENSE.md Aug 24, 2015
README.md Minor text edit to README.md Aug 30, 2015
tufte-in-python.ipynb
tufte.py

README.md

Tufte in Python

See the Jupyter notebook for more details.

A set of four plots based on Edward R. Tufte's designs in The Visual Display of Quantitative Information:

  • bar
  • boxplot
  • line
  • scatter

All of these plots aim to maximize data-ink, the "non-erasable core of a graphic."

bar

The "boxplot" (bplot), for example, removes boxes and caps and simply shows a dot between two lines. The dot represents the median and the lines correspond to the top and bottom 25% of the data. The empty space between the lines is the interquartile range.

bplot

The line and scatter plots make use of Tufte's range-frame concept, which aims to make the frame (axis) lines "effective data-communicating element[s]" by showing the minimum and maximum values in each axis. The default line style uses a circle marker with gaps between line segments.

line

scatter

This is built on top of matplotlib. This means other functions or methods can be used in conjunction with tufte plots.

Note: plots shown for demonstration purposes only, thus no titles or axis labels are used.

You can’t perform that action at this time.