Skip to main content

Inline Matplotlib backend for Jupyter

Project description

Matplotlib Inline Back-end for IPython and Jupyter

This package provides support for matplotlib to display figures directly inline in the Jupyter notebook and related clients, as shown below.

Installation

With conda:

conda install -c conda-forge matplotlib-inline

With pip:

pip install matplotlib-inline

Usage

Note that in current versions of JupyterLab and Jupyter Notebook, the explicit use of the %matplotlib inline directive is not needed anymore, though other third-party clients may still require it.

This will produce a figure immediately below:

%matplotlib inline

import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 3*np.pi, 500)
plt.plot(x, np.sin(x**2))
plt.title('A simple chirp');

License

Licensed under the terms of the BSD 3-Clause License, by the IPython Development Team (see LICENSE file).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matplotlib_inline-0.2.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matplotlib_inline-0.2.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file matplotlib_inline-0.2.2.tar.gz.

File metadata

  • Download URL: matplotlib_inline-0.2.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for matplotlib_inline-0.2.2.tar.gz
Algorithm Hash digest
SHA256 72f3fe8fce36b70d4a5b612f899090cd0401deddc4ea90e1572b9f4bfb058c79
MD5 20174d6e66b812e9e26ea1ed6bc0201c
BLAKE2b-256 bdc09f7c9a46090390368a4d7bcb76bb87a4a36c421e4c0792cdb53486ffac7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for matplotlib_inline-0.2.2.tar.gz:

Publisher: publish.yml on ipython/matplotlib-inline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file matplotlib_inline-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for matplotlib_inline-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c821cf1c209f59fb2d2d64abbf5b23b67bcb2210d663f9918dd851c6da1fcf6
MD5 67ba7a57a15dbe857a9c0e3ab3bb8ca4
BLAKE2b-256 41095b161152e2d90f7b87f781c2e1267494aef9c32498df793f73ad0a0a494a

See more details on using hashes here.

Provenance

The following attestation bundles were made for matplotlib_inline-0.2.2-py3-none-any.whl:

Publisher: publish.yml on ipython/matplotlib-inline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page