diff --git a/matlab/reporting/@graph/graph.m b/matlab/reporting/@graph/graph.m
index 5a33151a6ec62ecdaf2eadd658a9efc4a4e31ff6..8b89dcca6e53e72a6703ac848f9d8e5382fdc132 100644
--- a/matlab/reporting/@graph/graph.m
+++ b/matlab/reporting/@graph/graph.m
@@ -100,7 +100,7 @@ assert(isint(o.legend_font_size), '@graph.graph: legend_font_size must be an int
 assert(islogical(o.zeroline), '@graph.graph: zeroline must be either true or false');
 assert(isfloat(o.shade_opacity) && length(o.shade_opacity)==1 && ...
        o.shade_opacity >= 0 && o.shade_opacity <= 1, ...
-       '@graph.graph: o.shade_opacity must be a real in [0 1]']);
+       '@graph.graph: o.shade_opacity must be a real in [0 1]');
 valid_legend_locations = ...
     {'North', 'South', 'East', 'West', ...
      'NorthEast', 'SouthEast', 'NorthWest', 'SouthWest', ...