Fix shape plot max and scaling bugs.
Update shapeexample.py.
Remove redundant comments.
Add the OrderedDict backport workaround.