diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index e480f8f29598..26db7938713c 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -1397,6 +1397,14 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1, else: positions = [np.asanyarray(positions)] + if 'snap' not in kwargs: + _log.warning( + "eventplot: Snapping has been turned off. Snapping may still " + "be turned on manually, but runs the risk of 'missing' data " + "in the outputted graph.") + kwargs['snap'] = False + kwargs['antialiaseds'] = True + poss = [] for position in positions: poss += self._process_unit_info([("x", position)], kwargs)