peal.visualization.image_grid.embed_text_in_image¶ peal.visualization.image_grid.embed_text_in_image(text, width, height)[source]¶ Draw text centred on a white width x height RGB canvas. Uses PIL’s built-in default font, so the text is small and does not scale with the canvas. Returns: The canvas with the black text. Return type: PIL.Image.Image