prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Docs are broken
  Looks like one of the examples still uses `n_eff`. From travis: 
  
  ```
  Exception occurred:
    File "/home/travis/build/arviz-devs/arviz/examples/plot_forest_ridge.py", line 20, in <module>
      n_eff=False)
  TypeError: plot_forest() got an unexpected keyword argument 'n_eff'
  ```
  
  </issue>
  <code>
  [start of examples/plot_forest_ridge.py]
  1 """
  2 Ridgeplot
  3 =========
  4 
  5 _thumb: .8, .5
  6 """
  7 import arviz as az
  8 
  9 az.style.use('arviz-darkgrid')
  10 
  11 non_centered_data = az.load_arviz_data('non_centered_eight')
  12 fig, axes = az.plot_forest(non_centered_data,
  13                            kind='ridgeplot',
  14                            var_names=['theta'],
  15                            combined=True,
  16                            textsize=11,
  17                            ridgeplot_overlap=3,
  18                            colors='white',
  19                            r_hat=False,
  20                            n_eff=False)
  21 axes[0].set_title('Estimated theta for eight schools model', fontsize=11)
  22
  [end of examples/plot_forest_ridge.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/examples/plot_forest_ridge.py b/examples/plot_forest_ridge.py
  --- a/examples/plot_forest_ridge.py
  +++ b/examples/plot_forest_ridge.py
  @@ -15,7 +15,5 @@
                              combined=True,
                              textsize=11,
                              ridgeplot_overlap=3,
  -                           colors='white',
  -                           r_hat=False,
  -                           n_eff=False)
  +                           colors='white')
   axes[0].set_title('Estimated theta for eight schools model', fontsize=11)
  
verification_info: {"golden_diff": "diff --git a/examples/plot_forest_ridge.py b/examples/plot_forest_ridge.py\n--- a/examples/plot_forest_ridge.py\n+++ b/examples/plot_forest_ridge.py\n@@ -15,7 +15,5 @@\n                            combined=True,\n                            textsize=11,\n                            ridgeplot_overlap=3,\n-                           colors='white',\n-                           r_hat=False,\n-                           n_eff=False)\n+                           colors='white')\n axes[0].set_title('Estimated theta for eight schools model', fontsize=11)\n", "issue": "Docs are broken\nLooks like one of the examples still uses `n_eff`. From travis: \r\n\r\n```\r\nException occurred:\r\n  File \"/home/travis/build/arviz-devs/arviz/examples/plot_forest_ridge.py\", line 20, in <module>\r\n    n_eff=False)\r\nTypeError: plot_forest() got an unexpected keyword argument 'n_eff'\r\n```\n", "before_files": [{"content": "\"\"\"\nRidgeplot\n=========\n\n_thumb: .8, .5\n\"\"\"\nimport arviz as az\n\naz.style.use('arviz-darkgrid')\n\nnon_centered_data = az.load_arviz_data('non_centered_eight')\nfig, axes = az.plot_forest(non_centered_data,\n                           kind='ridgeplot',\n                           var_names=['theta'],\n                           combined=True,\n                           textsize=11,\n                           ridgeplot_overlap=3,\n                           colors='white',\n                           r_hat=False,\n                           n_eff=False)\naxes[0].set_title('Estimated theta for eight schools model', fontsize=11)\n", "path": "examples/plot_forest_ridge.py"}]}