Note
Go to the end to download the full example code.
Text Customization#
Control font, color, outline, and case style for meme text.
Font and Color#
Use font, color, and style to customise the text appearance.
import memeplotlib as memes
memes.meme(
"drake", "writing tests", "shipping to prod",
font="impact", color="yellow", style="upper", show=False,
)

(<Figure size 1200x1878 with 1 Axes>, <Axes: >)
Font Size#
Use fontsize to set the text size in points.
memes.meme(
"buzz", "big text", "big memes",
fontsize=120, show=False,
)

(<Figure size 1200x912.548 with 1 Axes>, <Axes: >)
Outline Control#
Adjust outline_color and outline_width for the classic meme look.
memes.meme(
"buzz", "white on black", "the classic",
color="white", outline_color="black", outline_width=3.0,
show=False,
)

(<Figure size 1200x912.548 with 1 Axes>, <Axes: >)
Total running time of the script: (0 minutes 1.401 seconds)