<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pixels(self, value: int) -> 'Gap': """Set the margin in pixels."""

        raise_not_number(value)
        self.gap = '{}px'.format(value)
        return self