From b5c487b745505e1b653539b3848d063c5ddde5db Mon Sep 17 00:00:00 2001 From: microly Date: Sat, 6 May 2017 00:30:30 +0800 Subject: [PATCH] Update qplot.py fix NameError: global name 'xlabel' is not defined --- ggplot/qplot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggplot/qplot.py b/ggplot/qplot.py index 9ef231d6..30b03d10 100644 --- a/ggplot/qplot.py +++ b/ggplot/qplot.py @@ -115,9 +115,9 @@ def qplot(x, y=None, color=None, size=None, fill=None, data=None, if "y" in log: p += scale_y_log() if xlab: - p += xlabel(xlab) + p += xlab(xlab) if ylab: - p += ylabel(ylab) + p += ylab(ylab) if main: p += ggtitle(main) return p