code: def test_creation_views_params_layered_repeat_chart():
      import altair as alt
      from vega_datasets import data
  
      source = alt.UrlData(
          data.flights_2k.url, format={"parse": {"date": "date"}}
      )
  
      brush = alt.selection_interval(encodings=["x"])
  
      # Define the base chart, with the common parts of the
      # background and highlights
      base = (
          alt.Chart(width=160, height=130)
          .mark_bar()
          .encode(
              x=alt.X(alt.repeat("column")).bin(maxbins=20), y="count()"
          )
      )
  
      # gray background with selection
      background = base.encode(color=alt.value("#ddd")).add_params(
          brush
      )
  
      # blue highlights on the transformed data
      highlight = base.transform_filter(brush)
  
      # layer the two charts & repeat
      c = (
          alt.layer(background, highlight, data=source)
          .transform_calculate("time", "hours(datum.date)")
          .repeat(column=["distance", "delay", "time"])
      )
  
      dct = c.to_dict()
      assert (
          "child__column_distance_view_" in dct["params"][0]["views"][0]
      )
  
file_path: altair/tests/vegalite/v5/test_params.py
imports: import pandas
  import warnings
  import pytest
  import re
  import altair.vegalite.v5
label_desc: Use image node_id 7 for calling a global function with example usage: test_creation_views_params_layered_repeat_chart() without return types