{"record":{"id":"e26eae7801140d00","repo":"matplotlib/matplotlib","slug":"name-must-be-a-sequence","errorCode":null,"errorMessage":"{name} must be a sequence","messagePattern":"(.+?) must be a sequence","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"lib/mpl_toolkits/mplot3d/art3d.py","lineNumber":340,"sourceCode":"\n        Parameters\n        ----------\n        x : array-like\n            The x-data to be plotted.\n        y : array-like\n            The y-data to be plotted.\n        z : array-like\n            The z-data to be plotted.\n\n        Notes\n        -----\n        Accepts x, y, z arguments or a single array-like (x, y, z)\n        \"\"\"\n        if len(args) == 1:\n            args = args[0]\n        for name, xyz in zip('xyz', args):\n            if not np.iterable(xyz):\n                raise RuntimeError(f'{name} must be a sequence')\n        self._verts3d = args\n        self.stale = True\n\n    def get_data_3d(self):\n        \"\"\"\n        Get the current data\n\n        Returns\n        -------\n        verts3d : length-3 tuple or array-like\n            The current data as a tuple or array-like.\n        \"\"\"\n        return self._verts3d\n\n    @artist.allow_rasterization\n    def draw(self, renderer):\n        scale_mask = _scale_invalid_mask(*self._verts3d, self.axes)\n        if self._axlim_clip:","sourceCodeStart":322,"sourceCodeEnd":358,"githubUrl":"https://github.com/matplotlib/matplotlib/blob/b379c1b69e012b142c0f496a52bcb30513802d72/lib/mpl_toolkits/mplot3d/art3d.py#L322-L358","documentation":"Error \"{name} must be a sequence\" thrown in matplotlib/matplotlib.","triggerScenarios":"Thrown at lib/mpl_toolkits/mplot3d/art3d.py:340 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b379c1b69e012b142c0f496a52bcb30513802d72","analyzedAt":"2026-08-21T23:31:55.468Z","schemaVersion":2},"datasetVersion":"2026-08-22T04:17:13.399Z"}