def plot_from_config(evaluation, config_data):
    for plot in config_data['plots']:
        if plot['type'] == 'contour':
            _draw_contour_plot(evaluation, plot)
        elif plot['type'] == 'subregion':
            _draw_subregion_diagram(evaluation, plot)
        elif plot['type'] == 'taylor':
            _draw_taylor_diagram(evaluation, plot)
        elif plot['type'] == 'time_series':
            _draw_time_series_plot(evaluation, plot)
        elif plot['type'] == 'portrait':
            _draw_portrait_diagram(evaluation, plot)
        else:
            logger.error('Unrecognized plot type requested: {}'.format(plot['type']))
Create a new resource.
dataset/ETHPy150Open apache/climate/ocw_config_runner/plot_generation.py/plot_from_config--crossover with--dataset/ETHPy150Open openstack/solum/solum/api/handlers/handler.py/Handler.create