[Rivet-svn] rivet: make-plots bugfix for legend in ratio-only plots.

Rivet Mercurial rivet at projects.hepforge.org
Thu Jan 12 13:30:02 GMT 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/1ceb1045aeda
branches:  release-2-5-x
changeset: 5662:1ceb1045aeda
user:      Frank Siegert <frank.siegert at cern.ch>
date:      Thu Jan 12 14:27:06 2017 +0100
description:
make-plots bugfix for legend in ratio-only plots.

diffs (11 lines):

--- a/bin/make-plots	Mon Jan 09 15:38:35 2017 +0000
+++ b/bin/make-plots	Thu Jan 12 14:27:06 2017 +0100
@@ -1000,7 +1000,7 @@
                            custommajorticks=ycustommajorticks,
                            customminorticks=ycustomminorticks)
 
-        if not inputdata.attr_bool('MainPlot', True) and not inputdata.attr_bool('Legend', False):
+        if not inputdata.attr_bool('MainPlot', True) and inputdata.attr_bool('Legend', False):
             legend = Legend(inputdata.description, inputdata.histos, inputdata.functions)
             out += legend.draw()
 


More information about the Rivet-svn mailing list