Skip to main content
Ctrl+K
memeplotlib - Home memeplotlib - Home
  • Getting Started
  • User Guide
  • Constructing memegen URLs
  • API Conventions
  • API Reference
  • Gallery of Examples
  • GitHub
  • Getting Started
  • User Guide
  • Constructing memegen URLs
  • API Conventions
  • API Reference
  • Gallery of Examples
  • GitHub

memeplotlib#

Memes with Python’s matplotlib.

Create image macro memes using matplotlib for rendering and the memegen API for template discovery.

import memeplotlib as memes

fig, ax = memes.meme("buzz", "memes", "memes everywhere")
Buzz Lightyear "memes / memes everywhere"

Getting Started#

Install from PyPI:

pip install memeplotlib

Then head to the Getting Started for a hands-on introduction.

Contents#

Contents

  • Getting Started
    • Installation
    • Your First Meme
    • Saving to a File
    • Customizing Text
    • Using Local Images
    • Getting the Figure Back
    • Next Steps
  • User Guide
    • Functional API
    • Object-Oriented API
    • Memifying Existing Figures
    • Global Configuration
    • Template Discovery
    • Caching
    • Rendering onto Existing Axes
  • Constructing memegen URLs
    • URL shape
    • Escape table
    • Query parameters
    • Output formats
    • Worked examples
    • Notes for automated clients
  • API Conventions
    • The ax=None pattern
    • Return (Figure, Axes), do not call plt.show
    • Forward **kwargs to Axes.text
    • Backends
    • rc_context for scoped config overrides
    • NumPy-format docstrings
    • Test conventions
  • API Reference
    • Top-level functions
    • Classes
    • Singletons and exceptions
  • Gallery of Examples

Indices and tables#

  • Index

  • Module Index

  • Search Page

next

Getting Started

On this page
  • memeplotlib
    • Getting Started
    • Contents
  • Indices and tables
Show Source

© Copyright 2025, Brian Keegan.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.1.