diff --git a/examples/show_pull_evolution.py b/examples/show_pull_evolution.py index 8715dcd..5066e9d 100755 --- a/examples/show_pull_evolution.py +++ b/examples/show_pull_evolution.py @@ -22,10 +22,10 @@ import sys import csv try: import matplotlib.pyplot as plt -except: - print('This script needs the "matplotlib" module') plt.figure() plt.close() +except: + print('This script needs the "matplotlib" module') sys.exit() try: import numpy as np