Lines Matching refs:figure

23     import matplotlib.figure, matplotlib.backends.backend_agg
171 fig = matplotlib.figure.Figure(
201 figure, height = _create_figure(plot_height)
204 subplot = figure.add_subplot(1, 1, 1)
213 subplot = figure.add_subplot(len(plots), 1, plot_index + 1)
278 legend = figure.legend(lines, [plot['label'] for plot in plots],
288 return (figure, area_data)
325 figure, height = _create_figure(_SINGLE_PLOT_HEIGHT)
328 subplot = figure.add_subplot(1, 1, 1)
387 figure.legend(bars, [plot['label'] for plot in plots])
388 return (figure, area_data)
431 def _create_png(figure): argument
437 canvas = matplotlib.backends.backend_agg.FigureCanvasAgg(figure)
444 figure.get_facecolor())
457 def _create_image_html(figure, area_data, plot_info): argument
468 png, bbox = _create_png(figure)
623 figure, area_data = _create_line(plots, labels, plot_info)
625 figure, area_data = _create_bar(plots, labels, plot_info)
630 figure.text(.1, text_y, extra_text, size='xx-small')
632 return (figure, area_data)
639 figure, area_data = _create_metrics_plot_helper(plot_info, extra_text)
640 return _create_image_html(figure, area_data, plot_info)
701 figure, height = _create_figure(_SINGLE_PLOT_HEIGHT)
702 subplot = figure.add_subplot(1, 1, 1)
774 figure.text(.1, .95, extra_text, size='xx-small')
776 return (figure, area_data)
783 figure, area_data = _create_qual_histogram_helper(plot_info, extra_text)
784 return _create_image_html(figure, area_data, plot_info)
804 figure, areas_unused = _create_metrics_plot_helper(plot_info,
810 figure, areas_unused = _create_qual_histogram_helper(plot_info,
815 image, bounding_box_unused = _create_png(figure)