code: def test_log_figure_save_kwargs():
      from plotly import graph_objects as go
  
      fig = go.Figure(go.Scatter(x=[0, 1], y=[2, 3]))
      with mlflow.start_run():
          name = "figure.html"
          div_id = uuid.uuid4().hex
          mlflow.log_figure(fig, name, save_kwargs={"div_id": div_id})
          artifact_uri = mlflow.get_artifact_uri(name)
          local_path = local_file_uri_to_path(artifact_uri)
          with open(local_path) as f:
              assert div_id in f.read()
  
file_path: mlflow/tests/tracking/test_log_figure.py
imports: import os
  import posixpath
  import uuid
  import pytest
  import mlflow
  from mlflow.utils.file_utils import local_file_uri_to_path
  from mlflow.utils.os import is_windows
label_desc: Use image node_id 4 for calling a global function with example usage: test_log_figure_save_kwargs() without return types