Matplotlib Inline Backend for Jupyter

0.2.1 · active · verified Sat Mar 28

Provides an inline Matplotlib backend for Jupyter, enabling figures to display directly within the notebook interface. Current version: 0.2.1. Maintained by the IPython Development Team, with releases as needed to address updates and improvements.

Warnings

Install

Imports

Quickstart

Basic example to generate and display a sine wave plot inline within a Jupyter notebook.

import numpy as np
import matplotlib.pyplot as plt

# Generate sample data
x = np.linspace(0, 10, 100)
y = np.sin(x)

# Create a plot
plt.plot(x, y)
plt.title('Sine Wave')
plt.show()

view raw JSON →