code: def test_unsupported_dtype() -> None:
      with pytest.raises(PolarsPanicError):
          pl.DataFrame({"a": [{1, 2}], "b": [4]}).plot.scatter(
              x="a", y="b"
          )
  
file_path: polars/py-polars/tests/unit/namespaces/test_plot.py
imports: from datetime import date
  import pytest
  import polars
  from polars.exceptions import PolarsPanicError
label_desc: Use image node_id 5 for calling a global function with example usage: test_unsupported_dtype() without return types