human
Can you provide a the Python program you requested given the following:
Complete the below
def _GetChartFactory(chart_class, display_class):

    ''''Create a factory method for instantiating charts with displays.
    Returns a method which, when called, will create & return a chart with
    chart.display already populated.'
    '''
assistant
#Here is the Python program you requested.
    def Inner(*args, **kwargs):
        chart = chart_class(*args, **kwargs)
        chart.display = display_class(chart)
        return chart
    return Inner