Skip to content

Commit

Permalink
changed figure suptitle
Browse files Browse the repository at this point in the history
  • Loading branch information
albertofernandezvillan committed Feb 25, 2019
1 parent 2c85c08 commit 908f570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Chapter07/02-exercices/thresholding_example_arange.py
Expand Up @@ -2,6 +2,7 @@
Simple thresholding applied to a real image using np.arange() to create the different threshold values
"""

# Import required packages:
import numpy as np
import cv2
from matplotlib import pyplot as plt
Expand All @@ -21,7 +22,7 @@ def show_img_with_matplotlib(color_img, title, pos):

# Create the dimensions of the figure and set title and color:
fig = plt.figure(figsize=(9, 9))
plt.suptitle("Thresholding example", fontsize=14, fontweight='bold')
plt.suptitle("Thresholding using np.arange() to create the different threshold values", fontsize=14, fontweight='bold')
fig.patch.set_facecolor('silver')

# Load the image and convert it to grayscale:
Expand Down

0 comments on commit 908f570

Please sign in to comment.