def test_insert_image_from_file(): file = DEMO_PNG_FILE fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image(ax, file, scale=1) return fig
def test_insert_image_from_file_zoom_10x_expand(): file = DEMO_PNG_FILE fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image(ax, file, scale=10, expand=True) return fig
def test_insert_image_from_url_zoom_10x_expand(): url = DEMO_PNG_URL fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image( ax, url, scale=10, expand=True) return fig
def test_insert_image_from_url_shrink_half(): url = DEMO_PNG_URL fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image( ax, url, scale=.5) return fig
def test_insert_image_from_file(): file = DEMO_PNG_FILE fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image( ax, file, scale=1) return fig
def test_insert_image_from_file_zoom_10x_expand(): file = DEMO_PNG_FILE fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image( ax, file, scale=10, expand=True) return fig
def test_insert_image_from_url_zoom_10x_expand(): url = DEMO_PNG_URL fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image(ax, url, scale=10, expand=True) return fig
def test_insert_image_from_url_shrink_half(): url = DEMO_PNG_URL fig, ax = plt.subplots(figsize=(9, 9)) logo_ax = template.insert_image(ax, url, scale=.5) return fig