def validate(self):
        for name, field in self:
            try:
                field.validate_for_object(self)
            except ValidationError as error:
                raise ValidationError(
                    "Error for field '{name}'.".format(name=name),
                    error,
                )
Add a layer to RPlot instance.
dataset/ETHPy150Open beregond/jsonmodels/jsonmodels/models.py/Base.validate--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/tools/rplot.py/RPlot.add