minor improvement of agros2d.py