(self)
return chart
Generate the chart.

        Returns:
            Instance of altair.Chart
Generate the chart.
Generate the chart .
def generate(self):
        """Generate the chart.

        Returns:
            Instance of altair.Chart
        """
        # Only the data attribute is used for table rendering but we need the
        # mark to construct the chart.
        chart = alt.Chart().mark_bar()
        chart.data = self.values
        return chart
def generate ( self ) : # Only the data attribute is used for table rendering but we need the # mark to construct the chart. chart = alt . Chart ( ) . mark_bar ( ) chart . data = self . values return chart