Registry / data / matplotlib-inline

matplotlib-inline

JSON →
library0.2.1pypypiunverified

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.

dataai-ml
pip install matplotlib-inline
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
glibc
py 3.10
3/5 runs
3/5 runs
py 3.11
3/5 runs
3/5 runs
py 3.12
3/5 runs
3/5 runs
py 3.13
3/5 runs
3/5 runs
py 3.9
3/5 runs
3/5 runs
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
Audit
Dependencies
matplotlibrequiredRequired for plotting functionality
ipykernelrequiredRequired for Jupyter kernel integration
Agent activity
92 hits · last 30 days
node
6
bytedance
4
ahrefsbot
3
seranking-bot
3
Resources