diff --git a/.gitignore b/.gitignore
index b6d5b37fa7c4b70aacb7541ae0415292f01391dd..9b7cc6bcc37f399b45e7da5f5f93645dd3aa655f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,7 @@
 
 notebooks/helperScript.py
+notebooks/LayerSegmentation2D.py
+notebooks/LayerSegmentation3D.py
+notebooks/NerveSegmentation2D.py
+notebooks/NerveSegmentation3D.py
+notebooks/NerveSegmentation3D.py
diff --git a/notebooks/NerveSegmentation3D.py b/notebooks/NerveSegmentation3D.py
index 9afbfb0ce1f46508399c8ce4ed46751448cbc349..1ae8d7281e23279d3d3f59bd6d64e1fb06939fce 100644
--- a/notebooks/NerveSegmentation3D.py
+++ b/notebooks/NerveSegmentation3D.py
@@ -4,7 +4,6 @@ This script does the exact same as 'NerveSegmenetation3D.ipynb'
 import os
 import numpy as np
 import matplotlib.pyplot as plt
-from matplotlib.image import imsave 
 from skimage.io import imread
 from scipy.ndimage.interpolation import map_coordinates