MAINT: matplotlib is in requierements.txt

This commit is contained in:
François Boulogne
2013-10-02 17:48:09 +02:00
parent f82db28565
commit 2e2a82ab30
+3 -8
View File
@@ -1,12 +1,8 @@
import numpy as np
try:
import matplotlib.pyplot as plt
import matplotlib.colors as mcolors
LABELS_CMAP = mcolors.ListedColormap(['white', 'red', 'dodgerblue', 'gold',
import matplotlib.pyplot as plt
import matplotlib.colors as mcolors
LABELS_CMAP = mcolors.ListedColormap(['white', 'red', 'dodgerblue', 'gold',
'greenyellow', 'blueviolet'])
except ImportError:
print("Could not import matplotlib -- skimage.viewer not available.")
from skimage.viewer.canvastools.base import CanvasToolBase
@@ -192,7 +188,6 @@ class CenteredWindow(object):
if __name__ == '__main__':
np.testing.rundocs()
import matplotlib.pyplot as plt
from skimage import data
image = data.camera()