def hist(self, var: str, title: str = '<STR_LIT>',<EOL>label: str = '<STR_LIT>') -> object:
code = "<STR_LIT>" + self.libref + '<STR_LIT:.>' + self.table + self._dsopts()<EOL>code += "<STR_LIT>" + var + "<STR_LIT>"<EOL>if len(label) > <NUM_LIT:0>:<EOL><INDENT>code += "<STR_LIT>" + label + "<STR_LIT:'>"<EOL><DEDENT>code += "<STR_LIT>"<EOL>if len(title) > <NUM_LIT:0>:<EOL><INDENT>code += '<STR_LIT>' + title + '<STR_LIT>'<EOL><DEDENT>code += "<STR_LIT>" + var + '<STR_LIT>' + '<STR_LIT>'<EOL>if self.sas.nosub:<EOL><INDENT>print(code)<EOL>return<EOL><DEDENT>ll = self._is_valid()<EOL>if not ll:<EOL><INDENT>html = self.HTML<EOL>self.HTML = <NUM_LIT:1><EOL>ll = self.sas._io.submit(code)<EOL>self.HTML = html<EOL><DEDENT>if not self.sas.batch:<EOL><INDENT>self.sas.DISPLAY(self.sas.HTML(ll['<STR_LIT>']))<EOL><DEDENT>else:<EOL><INDENT>return ll<EOL><DEDENT>
This method requires a numeric column (use the contents method to see column types) and generates a histogram.

:param var: the NUMERIC variable (column) you want to plot
:param title: an optional Title for the chart
:param label: LegendLABEL= value for sgplot
:return: