Registry / data / matplotlib-inline

matplotlib-inline

JSON →
library0.2.2pypypi✓ verified 25d ago

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.

pip install matplotlib-inline
INSTALL
IMPORT
SIG · MATPLOTLIB-INLINE
M
matplotlib-inline
datapythonv0.2.2
Install
1.8s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

configure_inline_support
from matplotlib_inline import configure_inline_support
from matplotlib_inline import configure_inline_support

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()
Debug
Known issues
breakingEnsure that 'matplotlib-inline' is installed to enable inline plotting in Jupyter notebooks. Without this package, figures may not display inline.
fix
Install 'matplotlib-inline' using pip: pip install matplotlib-inline
affects: 0.2.1
gotchaIn some Jupyter environments, the '%matplotlib inline' magic command may still be required to enable inline plotting. If figures do not display inline, try running '%matplotlib inline' in a notebook cell before plotting.
fix
Add '%matplotlib inline' at the beginning of your notebook to enable inline plotting.
affects: 0.2.1
breakingThe 'numpy' package is not found. This typically occurs when numpy is not installed in the current Python environment, leading to a ModuleNotFoundError when an application or its dependencies try to import it.
fix
Install 'numpy' using pip: pip install numpy
affects: 0.2.1
breakingEnsure that 'numpy' is installed. The 'ModuleNotFoundError: No module named 'numpy'' indicates that the package is missing, preventing scripts that depend on it from running.
fix
Install 'numpy' using pip: pip install numpy
affects: *
Upgrade
Version history
0.2.2latest on PyPI · released May 8, 2026
Audit
Dependencies
matplotlibrequiredRequired for plotting functionality
ipykernelrequiredRequired for Jupyter kernel integration
Agent activity
21 hits · last 30 days
node
17
Amazon
1
Anthropic
1
Resources
matplotlib-inline — pip install matplotlib-inline · libregistry