prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Joint Plot Viz has messed up (overlapping labels on) axes
  **Describe the bug**
  
  If you look at the x and y axis on http://www.scikit-yb.org/en/latest/api/features/scatter.html#joint-plot-visualization you will see that the labels are overlapping.
  
  **To Reproduce**
  
  Create a joint plot as shown in the docs
  
  
  
  **Expected behavior**
  
  Labels on axes should be clear.
  
  
  **Desktop (please complete the following information):**
   - OS: macOS
   - Python Version 3.6.4
   - Yellowbrick Version 0.8
  
  
  Joint Plot Viz has messed up (overlapping labels on) axes
  **Describe the bug**
  
  If you look at the x and y axis on http://www.scikit-yb.org/en/latest/api/features/scatter.html#joint-plot-visualization you will see that the labels are overlapping.
  
  **To Reproduce**
  
  Create a joint plot as shown in the docs
  
  
  
  **Expected behavior**
  
  Labels on axes should be clear.
  
  
  **Desktop (please complete the following information):**
   - OS: macOS
   - Python Version 3.6.4
   - Yellowbrick Version 0.8
  
  
  
  </issue>
  <code>
  [start of docs/api/features/jointplot.py]
  1 import pandas as pd
  2 import matplotlib.pyplot as plt
  3 
  4 from yellowbrick.features import JointPlotVisualizer
  5 
  6 
  7 def jointplot(X, y, outpath, **kwargs):
  8     # Create a new figure and axes
  9     fig = plt.figure()
  10     ax = fig.add_subplot(111)
  11 
  12     # Create the visualizer
  13     visualizer = JointPlotVisualizer(ax=ax, **kwargs)
  14     visualizer.fit(X, y)
  15     visualizer.transform(X)
  16 
  17     # Save to disk
  18     visualizer.poof(outpath=outpath)
  19     plt.savefig(outpath)
  20 
  21 
  22 if __name__ == '__main__':
  23 
  24     # Load the regression data set
  25     data = pd.read_csv("../../../examples/data/concrete/concrete.csv")
  26 
  27     feature = 'cement'
  28     target = 'strength'
  29 
  30     # Get the X and y data from the DataFrame
  31     Xs = data[feature]
  32     ys = data[target]
  33 
  34     # Draw the joint plot visualizer
  35     jointplot(Xs, ys, "images/jointplot.png", feature=feature, target=target)
  36 
  37     # Draw the joint plot visualizer with hexadecimal scatter plot
  38     jointplot(Xs, ys, "images/jointplot_hex.png", feature=feature, target=target, joint_plot='hex')
  39
  [end of docs/api/features/jointplot.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/docs/api/features/jointplot.py b/docs/api/features/jointplot.py
  --- a/docs/api/features/jointplot.py
  +++ b/docs/api/features/jointplot.py
  @@ -5,12 +5,8 @@
   
   
   def jointplot(X, y, outpath, **kwargs):
  -    # Create a new figure and axes
  -    fig = plt.figure()
  -    ax = fig.add_subplot(111)
  -
       # Create the visualizer
  -    visualizer = JointPlotVisualizer(ax=ax, **kwargs)
  +    visualizer = JointPlotVisualizer(**kwargs)
       visualizer.fit(X, y)
       visualizer.transform(X)
  
verification_info: {"golden_diff": "diff --git a/docs/api/features/jointplot.py b/docs/api/features/jointplot.py\n--- a/docs/api/features/jointplot.py\n+++ b/docs/api/features/jointplot.py\n@@ -5,12 +5,8 @@\n \n \n def jointplot(X, y, outpath, **kwargs):\n-    # Create a new figure and axes\n-    fig = plt.figure()\n-    ax = fig.add_subplot(111)\n-\n     # Create the visualizer\n-    visualizer = JointPlotVisualizer(ax=ax, **kwargs)\n+    visualizer = JointPlotVisualizer(**kwargs)\n     visualizer.fit(X, y)\n     visualizer.transform(X)\n", "issue": "Joint Plot Viz has messed up (overlapping labels on) axes\n**Describe the bug**\r\n\r\nIf you look at the x and y axis on http://www.scikit-yb.org/en/latest/api/features/scatter.html#joint-plot-visualization you will see that the labels are overlapping.\r\n\r\n**To Reproduce**\r\n\r\nCreate a joint plot as shown in the docs\r\n\r\n\r\n\r\n**Expected behavior**\r\n\r\nLabels on axes should be clear.\r\n\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: macOS\r\n - Python Version 3.6.4\r\n - Yellowbrick Version 0.8\r\n\r\n\nJoint Plot Viz has messed up (overlapping labels on) axes\n**Describe the bug**\r\n\r\nIf you look at the x and y axis on http://www.scikit-yb.org/en/latest/api/features/scatter.html#joint-plot-visualization you will see that the labels are overlapping.\r\n\r\n**To Reproduce**\r\n\r\nCreate a joint plot as shown in the docs\r\n\r\n\r\n\r\n**Expected behavior**\r\n\r\nLabels on axes should be clear.\r\n\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: macOS\r\n - Python Version 3.6.4\r\n - Yellowbrick Version 0.8\r\n\r\n\n", "before_files": [{"content": "import pandas as pd\nimport matplotlib.pyplot as plt\n\nfrom yellowbrick.features import JointPlotVisualizer\n\n\ndef jointplot(X, y, outpath, **kwargs):\n    # Create a new figure and axes\n    fig = plt.figure()\n    ax = fig.add_subplot(111)\n\n    # Create the visualizer\n    visualizer = JointPlotVisualizer(ax=ax, **kwargs)\n    visualizer.fit(X, y)\n    visualizer.transform(X)\n\n    # Save to disk\n    visualizer.poof(outpath=outpath)\n    plt.savefig(outpath)\n\n\nif __name__ == '__main__':\n\n    # Load the regression data set\n    data = pd.read_csv(\"../../../examples/data/concrete/concrete.csv\")\n\n    feature = 'cement'\n    target = 'strength'\n\n    # Get the X and y data from the DataFrame\n    Xs = data[feature]\n    ys = data[target]\n\n    # Draw the joint plot visualizer\n    jointplot(Xs, ys, \"images/jointplot.png\", feature=feature, target=target)\n\n    # Draw the joint plot visualizer with hexadecimal scatter plot\n    jointplot(Xs, ys, \"images/jointplot_hex.png\", feature=feature, target=target, joint_plot='hex')\n", "path": "docs/api/features/jointplot.py"}]}