prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  hide fit functionality
  
  
  </issue>
  <code>
  [start of WrightTools/__init__.py]
  1 """WrightTools init."""
  2 # flake8: noqa
  3 
  4 
  5 # --- import --------------------------------------------------------------------------------------
  6 
  7 
  8 import sys as _sys
  9 
  10 from .__version__ import *
  11 from . import artists
  12 from . import collection
  13 from . import data
  14 from . import diagrams
  15 from . import fit
  16 from . import kit
  17 from . import units
  18 from . import exceptions
  19 
  20 from ._open import *
  21 from .collection._collection import *
  22 from .data._data import *
  23 
  24 
  25 # --- rcparams ------------------------------------------------------------------------------------
  26 
  27 
  28 if int(_sys.version.split('.')[0]) > 2:
  29     artists.apply_rcparams('fast')
  30
  [end of WrightTools/__init__.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/WrightTools/__init__.py b/WrightTools/__init__.py
  --- a/WrightTools/__init__.py
  +++ b/WrightTools/__init__.py
  @@ -12,7 +12,6 @@
   from . import collection
   from . import data
   from . import diagrams
  -from . import fit
   from . import kit
   from . import units
   from . import exceptions
  
verification_info: {"golden_diff": "diff --git a/WrightTools/__init__.py b/WrightTools/__init__.py\n--- a/WrightTools/__init__.py\n+++ b/WrightTools/__init__.py\n@@ -12,7 +12,6 @@\n from . import collection\n from . import data\n from . import diagrams\n-from . import fit\n from . import kit\n from . import units\n from . import exceptions\n", "issue": "hide fit functionality\n\n", "before_files": [{"content": "\"\"\"WrightTools init.\"\"\"\n# flake8: noqa\n\n\n# --- import --------------------------------------------------------------------------------------\n\n\nimport sys as _sys\n\nfrom .__version__ import *\nfrom . import artists\nfrom . import collection\nfrom . import data\nfrom . import diagrams\nfrom . import fit\nfrom . import kit\nfrom . import units\nfrom . import exceptions\n\nfrom ._open import *\nfrom .collection._collection import *\nfrom .data._data import *\n\n\n# --- rcparams ------------------------------------------------------------------------------------\n\n\nif int(_sys.version.split('.')[0]) > 2:\n    artists.apply_rcparams('fast')\n", "path": "WrightTools/__init__.py"}]}