Commit f2dae89e authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

Allow empty title

parent 1c6e5bca
...@@ -349,7 +349,7 @@ class PlotBase(MeasureBase): ...@@ -349,7 +349,7 @@ class PlotBase(MeasureBase):
title += (" (%s)" % self._states[0]) title += (" (%s)" % self._states[0])
elif self._split: elif self._split:
title += (" (%s)" % self._states[i]) title += (" (%s)" % self._states[i])
mpl.title(title) mpl.title(title if self._title.replace(' ', '') else '')
mpl.xlabel(self._x_label) mpl.xlabel(self._x_label)
mpl.ylabel(self._y_label) mpl.ylabel(self._y_label)
mpl.grid(True, color=self._grid_color) mpl.grid(True, color=self._grid_color)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment