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.1.tar.gz (8.1 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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for matplotlib_inline-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe
MD5 25b1b460ee846df0d4d5d92dc8e6664c
BLAKE2b-256 c77497e72a36efd4ae2bccb3463284300f8953f199b5ffbc04cbbb0ec78f74b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for matplotlib_inline-0.2.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for matplotlib_inline-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76
MD5 b8fa4af3df2fadcd33c932dcce94b5ae
BLAKE2b-256 af33ee4519fa02ed11a94aef9559552f3b17bb863f2ecfe1a35dc7f548cde231

See more details on using hashes here.

Provenance

The following attestation bundles were made for matplotlib_inline-0.2.1-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