From 3efd65d1f7d7b4ca0a816837a861ec592821951f Mon Sep 17 00:00:00 2001 From: Pratik Mehta Date: Mon, 9 Jul 2018 15:27:50 -0400 Subject: [PATCH] Updated geom_text.py geom_text() does not draw lines any more, resolving issue #595. --- ggplot/geoms/geom_text.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ggplot/geoms/geom_text.py b/ggplot/geoms/geom_text.py index 348e7c58..8d6eee6b 100755 --- a/ggplot/geoms/geom_text.py +++ b/ggplot/geoms/geom_text.py @@ -51,7 +51,6 @@ def plot(self, ax, data, _aes): if is_date(x.iloc[0]): raise Exception("Can't do geom_text with a x-axis that is a date") else: - ax.plot(x, y) for (xi, yi, li) in zip(x, y, labels): xi += self.params.get('hjust', 0.) yi += self.params.get('vjust', 0.)