Skip to content

Instantly share code, notes, and snippets.

View mlub's full-sized avatar

Michael Lubke mlub

  • Applied Research Labs: UT
  • Austin
View GitHub Profile
@mlub
mlub / scanExamples.py
Last active July 17, 2016 14:39
Loops over examples on the matplotlib1.5.1 page and opens the 1.5.1 and 2.0 version in a browser
#!/usr/bin/env python
import requests
import subprocess
from lxml import html
old_url = 'http://matplotlib.org/1.5.1/examples/'
new_url = 'http://matplotlib.org/2.0.0b2/examples/'
# Skip any urls containing these strings
skip_these = ['animation/', 'api/']