<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/vision/drawing_utils.py#L268-L338) |

Plot the landmarks and the connections in matplotlib 3d.

    mp.tasks.vision.drawing_utils.plot_landmarks(
        landmark_list: list[landmark_module.NormalizedLandmark],
        connections: Optional[list[tuple[int, int]]] = None,
        landmark_drawing_spec: https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/DrawingSpec = https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/DrawingSpec,
        connection_drawing_spec: https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/DrawingSpec = https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/DrawingSpec,
        elevation: int = 10,
        azimuth: int = 10
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `landmark_list` | A list of normalized landmarks to be plotted. |
| `connections` | A list of landmark index tuples that specifies how landmarks to be connected. |
| `landmark_drawing_spec` | A DrawingSpec object that specifies the landmarks' drawing settings such as color and line thickness. |
| `connection_drawing_spec` | A DrawingSpec object that specifies the connections' drawing settings such as color and line thickness. |
| `elevation` | The elevation from which to view the plot. |
| `azimuth` | the azimuth angle to rotate the plot. |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | If any connection contains an invalid landmark index. |

<br />