From 0713aee16b5e1e6ffbc3170898c466d1d088023f Mon Sep 17 00:00:00 2001
From: Frank Sauerburger <f.sauerburger@cern.ch>
Date: Tue, 10 Sep 2019 10:22:17 +0200
Subject: [PATCH] Add return value for HistogramFactory

---
 nnfwtbn/plot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nnfwtbn/plot.py b/nnfwtbn/plot.py
index 3221247..e1f3973 100644
--- a/nnfwtbn/plot.py
+++ b/nnfwtbn/plot.py
@@ -37,7 +37,7 @@ class HistogramFactory:
 
         The method returns the return value of hist.
         """
-        hist(*self.args, *args, **dict(self.kwds, **kwds))
+        return hist(*self.args, *args, **dict(self.kwds, **kwds))
 
 def hist(dataframe, variable, bins, stacks, selection=None,
          range=None, blind=None, axes=None, figure=None,
-- 
GitLab