<s> from matplotlib import pyplot <EOL> from shapely . geometry import MultiPoint , Point <EOL> from descartes . patch import PolygonPatch <EOL> from figures import SIZE , BLUE , GRAY <EOL> fig = pyplot . figure ( <NUM_LIT:1> , figsize = SIZE , dpi = <NUM_LIT> ) <EOL> p = Point ( <NUM_LIT:1> , <NUM_LIT:1> ) . buffer ( <NUM_LIT> ) <EOL> ax = fig . add_subplot ( <NUM_LIT> ) <EOL> q = p . simplify ( <NUM_LIT> ) <EOL> patch1a = PolygonPatch ( p , facecolor = GRAY , edgecolor = GRAY , alpha = <NUM_LIT:0.5> , zorder = <NUM_LIT:1> ) <EOL> ax . add_patch ( patch1a ) <EOL> patch1b = PolygonPatch ( q , facecolor = BLUE , edgecolor = BLUE , alpha = <NUM_LIT:0.5> , zorder = <NUM_LIT:2> ) <EOL> ax . add_patch ( patch1b ) <EOL> ax . set_title ( '<STR_LIT>' ) <EOL> xrange = [ - <NUM_LIT:1> , <NUM_LIT:3> ] <EOL> yrange = [ - <NUM_LIT:1> , <NUM_LIT:3> ] <EOL> ax . set_xlim ( * xrange ) <EOL> ax . set_xticks ( range ( * xrange ) + [ xrange [ - <NUM_LIT:1> ] ] ) <EOL> ax . set_ylim ( * yrange ) <EOL> ax . set_yticks ( range ( * yrange ) + [ yrange [ - <NUM_LIT:1> ] ] ) <EOL> ax . set_aspect ( <NUM_LIT:1> ) <EOL> ax = fig . add_subplot ( <NUM_LIT> ) <EOL> r = p . simplify ( <NUM_LIT:0.5> ) <EOL> patch2a = PolygonPatch ( p , facecolor = GRAY , edgecolor = GRAY , alpha = <NUM_LIT:0.5> , zorder = <NUM_LIT:1> ) <EOL> ax . add_patch ( patch2a ) <EOL> patch2b = PolygonPatch ( r , facecolor = BLUE , edgecolor = BLUE , alpha = <NUM_LIT:0.5> , zorder = <NUM_LIT:2> ) <EOL> ax . add_patch ( patch2b ) <EOL> ax . set_title ( '<STR_LIT>' ) <EOL> xrange = [ - <NUM_LIT:1> , <NUM_LIT:3> ] <EOL> yrange = [ - <NUM_LIT:1> , <NUM_LIT:3> ] <EOL> ax . set_xlim ( * xrange ) <EOL> ax . set_xticks ( range ( * xrange ) + [ xrange [ - <NUM_LIT:1> ] ] ) <EOL> ax . set_ylim ( * yrange ) <EOL> ax . set_yticks ( range ( * yrange ) + [ yrange [ - <NUM_LIT:1> ] ] ) <EOL> ax . set_aspect ( <NUM_LIT:1> ) <EOL> pyplot . show ( ) </s>
