Fix overlapping xtick labels

This commit is contained in:
Johannes Schönberger
2013-11-30 19:35:06 +01:00
parent dcbbd55b52
commit 1869ea9147
+4
View File
@@ -14,12 +14,16 @@ the intra-class variance.
.. [1] http://en.wikipedia.org/wiki/Otsu's_method
"""
import matplotlib
import matplotlib.pyplot as plt
from skimage.data import camera
from skimage.filter import threshold_otsu
matplotlib.rcParams['font.size'] = 9
image = camera()
thresh = threshold_otsu(image)
binary = image > thresh