prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Incorrect description of an example
  https://altair-viz.github.io/gallery/scatter_linked_brush.html
  
  The title of the page says "Faceted Scatter Plot with Linked Brushing".
  But the example is a concatenated view, not a faceted view. 
  (The data points are shown twice in the visualization, not split by a category.) 
  
  </issue>
  <code>
  [start of altair/vegalite/v2/examples/scatter_linked_brush.py]
  1 """
  2 Faceted Scatter Plot with Linked Brushing
  3 -----------------------------------------
  4 This is an example of using an interval selection to control the color of
  5 points across multiple facets.
  6 """
  7 # category: interactive charts
  8 import altair as alt
  9 from vega_datasets import data
  10 
  11 cars = data.cars()
  12 
  13 brush = alt.selection(type='interval', resolve='global')
  14 
  15 base = alt.Chart(cars).mark_point().encode(
  16     y='Miles_per_Gallon',
  17     color=alt.condition(brush, 'Origin', alt.ColorValue('gray'))
  18 ).add_selection(
  19     brush
  20 ).properties(
  21     width=250,
  22     height=250
  23 )
  24 
  25 base.encode(x='Horsepower') | base.encode(x='Acceleration')
  26
  [end of altair/vegalite/v2/examples/scatter_linked_brush.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/altair/vegalite/v2/examples/scatter_linked_brush.py b/altair/vegalite/v2/examples/scatter_linked_brush.py
  --- a/altair/vegalite/v2/examples/scatter_linked_brush.py
  +++ b/altair/vegalite/v2/examples/scatter_linked_brush.py
  @@ -1,8 +1,8 @@
   """
  -Faceted Scatter Plot with Linked Brushing
  ------------------------------------------
  +Multi-panel Scatter Plot with Linked Brushing
  +---------------------------------------------
   This is an example of using an interval selection to control the color of
  -points across multiple facets.
  +points across multiple panels.
   """
   # category: interactive charts
   import altair as alt
  
verification_info: {"golden_diff": "diff --git a/altair/vegalite/v2/examples/scatter_linked_brush.py b/altair/vegalite/v2/examples/scatter_linked_brush.py\n--- a/altair/vegalite/v2/examples/scatter_linked_brush.py\n+++ b/altair/vegalite/v2/examples/scatter_linked_brush.py\n@@ -1,8 +1,8 @@\n \"\"\"\n-Faceted Scatter Plot with Linked Brushing\n------------------------------------------\n+Multi-panel Scatter Plot with Linked Brushing\n+---------------------------------------------\n This is an example of using an interval selection to control the color of\n-points across multiple facets.\n+points across multiple panels.\n \"\"\"\n # category: interactive charts\n import altair as alt\n", "issue": "Incorrect description of an example\nhttps://altair-viz.github.io/gallery/scatter_linked_brush.html\r\n\r\nThe title of the page says \"Faceted Scatter Plot with Linked Brushing\".\r\nBut the example is a concatenated view, not a faceted view. \r\n(The data points are shown twice in the visualization, not split by a category.) \n", "before_files": [{"content": "\"\"\"\nFaceted Scatter Plot with Linked Brushing\n-----------------------------------------\nThis is an example of using an interval selection to control the color of\npoints across multiple facets.\n\"\"\"\n# category: interactive charts\nimport altair as alt\nfrom vega_datasets import data\n\ncars = data.cars()\n\nbrush = alt.selection(type='interval', resolve='global')\n\nbase = alt.Chart(cars).mark_point().encode(\n    y='Miles_per_Gallon',\n    color=alt.condition(brush, 'Origin', alt.ColorValue('gray'))\n).add_selection(\n    brush\n).properties(\n    width=250,\n    height=250\n)\n\nbase.encode(x='Horsepower') | base.encode(x='Acceleration')\n", "path": "altair/vegalite/v2/examples/scatter_linked_brush.py"}]}