Below you will find pages that utilize the taxonomy term “Python”
Tufte in Python
Motivation
I greatly admire Edward Tufte.
After running across Tufte in R. I thought it would be a fun challenge to port the plots to python.
Movie Narrative Chart
Comic
There is a great xkcd about plotting the relationships of characters in a movie. I find it a very elegant way to present information that is otherwise a complicated network of changing relationships.
Primer
Of course, the punchline is the movie Primer which involves a substantial amount of time travel. It’s just a bunch of scribbles. Ha Ha.
Back when I first watched the movie (2011?), I stumbled upon this chart explaining the timelines. There are at least 9, by the way. While better than the xkcd gag at explaining the movie, I wanted to make an honest attempt at displaying the information more concisely.
TravelMap
travels
I wanted to make a digital version of one of large maps where you put actual pins to show where you’ve been.
Basemap makes that pretty easy.
My code is on GitHub: travelmap.py
Here is what the Raw data looks like:
Year | State/Country | Trip/Path | Latitude | Longitude |
---|---|---|---|---|
1987 | Illinois | Home | 41.439691 | -88.949886 |
1990 | Wisconsin | Dells | 43.627705 | -89.773422 |
1997 | Wisconsin | I90 | 43.51265 | -89.530689 |
2014 | Montana | Bozeman | 45.713946 | -111.068216 |
2015 | Brazil | Rio De Jenaro | -22.985197 | -43.207486 |
2015 | California | Los Angeles | 34.044468 | -118.460819 |
2016 | Virginia | Arlington | 38.880196 | -77.119795 |
2016 | California | Los Angeles | 34.044468 | -118.460819 |
2016 | Tennessee | Nashville | 36.134572 | -86.805819 |
2017 | Texas | Houston | 29.704918 | -95.393291 |