Skip to content

juanshishido/tufte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages