The SWIG layer to Sample module is extended with a functionality to wrap a custom Python Formfactor object. The test for custom formfactor (scatter2d/CustomFormFactor.py) is restored.
Sample
scatter2d/CustomFormFactor.py
The Python test script is improved with explanatory comments.