<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addScalarBar(self, c=None, title="", horizontal=False, vmin=None, vmax=None):
 """ Add a 2D scalar bar to actor. .. hint:: |mesh_bands| |mesh_bands.py|_ """

        # book it, it will be created by Plotter.show() later
        self.scalarbar = [c, title, horizontal, vmin, vmax]
        return self