code: def test_get_column_analysis_kde():
      import dtale.views as views
  
      df = pd.DataFrame(dict(a=np.random.randn(100)))
      with app.test_client() as c:
          build_data_inst({c.port: df})
          build_dtypes({c.port: views.build_dtypes_state(df)})
          settings = {c.port: {}}
          build_settings(settings)
          response = c.get(
              "/dtale/column-analysis/{}".format(c.port),
              query_string=dict(col="a", type="histogram", bins=50),
          )
          response_data = response.get_json()
          assert len(response_data["kde"]) == 51
  
file_path: dtale/tests/dtale/test_column_analysis.py
imports: import mock
  import numpy
  import os
  import pandas
  import pytest
  import dtale.global_state
  from tests.dtale.test_views import app
  from tests import ExitStack
  from tests.dtale import build_data_inst, build_settings, build_dtypes
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_column_analysis_kde() without return types