docs: def _raise_if_annotated(self, func):
          """Raise TypeError if a function is decorated with Annotate, as such
          functions cause visual bugs when decorated with Animate.
  
          Animate should be wrapped by Annotate instead.
  
          Args:
              func (function): Any callable.
          Raises:
              TypeError
          """
          if hasattr(func, ANNOTATED) and getattr(func, ANNOTATED):
              msg = ('Functions decorated with {!r} '
                     'should not be decorated with {!r}.\n'
                     'Please reverse the order of the decorators!'.format(
                         self.__class__.__name__, Annotate.__name__))
              raise TypeError(msg)