def _validate_monotonic(self):
if not self._on.is_monotonic:<EOL><INDENT>formatted = self.on or '<STR_LIT:index>'<EOL>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>".format(formatted))<EOL><DEDENT>
Validate on is_monotonic.