code: def test_sunburst_hoverdict_color():
      df = px.data.gapminder().query("year == 2007")
      fig = px.sunburst(
          df,
          path=["continent", "country"],
          values="pop",
          color="lifeExp",
          hover_data={"pop": ":,"},
      )
      assert "color" in fig.data[0].hovertemplate
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_optional/test_px/test_px_hover.py
imports: import plotly.express
  import numpy
  import pandas
  import pytest
  from collections import OrderedDict
label_desc: Use image node_id 7 for calling a global function with example usage: test_sunburst_hoverdict_color() without return types