def set_canvas_title(self, text, canvas = <NUM_LIT:0>):
if canvas > self.__number_canvases:<EOL><INDENT>raise NameError('<STR_LIT>' + canvas + '<STR_LIT>')<EOL><DEDENT>self.__canvas_titles[canvas] = text<EOL>
!
        @brief Set title for specified canvas.

        @param[in] text (string): Title for canvas.
        @param[in] canvas (uint): Index of canvas where title should be displayed.