Skip to content

MLC114: override-animation method used in an unsupported .animate chain

qual reports MLC114 when a .animate expression chains two or more methods and at least one method is conclusively backed by Manim's @override_animate decorator. Manim raises NotImplementedError while building either chain order: an override cannot follow an ordinary method, and no method can follow an override.

  • Default severity: error
  • Minimum confidence: high
  • Implementation phase: 2
  • Fix: none; split the behavior into separate animations

The override fact comes from the versioned Manim knowledge profile (including Graph.add_vertices / remove_vertices / add_edges / remove_edges) or a project-local decorator resolved through normal import and alias resolution. An unresolved decorator or target kind stays silent.

Wrong

graph = Graph([1], [])
self.play(graph.animate.shift(RIGHT).add_vertices(2))
self.play(graph.animate.add_vertices(2))
self.play(graph.animate.shift(RIGHT))