From f1130169cdd21e60219a05bdac2b2ceba3a22a6a Mon Sep 17 00:00:00 2001 From: Heath Henley Date: Fri, 17 Feb 2017 19:21:01 -0500 Subject: [PATCH] Fix potential copy/paste error. --- lib/matplotlib/axes/_axes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index a8c80cf5d5ba..6528ed566e11 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -1189,8 +1189,6 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1, linelengths = [None] if len(linewidths) == 0: lineoffsets = [None] - if len(linewidths) == 0: - lineoffsets = [None] if len(colors) == 0: colors = [None]