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.1.7.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: matplotlib_inline-0.1.7.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for matplotlib_inline-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90
MD5 96fe871bf30dc414e6724423c1e2ebb1
BLAKE2b-256 995ba36a337438a14116b16480db471ad061c36c3694df7c2084a0da7ba538b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for matplotlib_inline-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 df192d39a4ff8f21b1895d72e6a13f5fcc5099f00fa84384e0ea28c2cc0653ca
MD5 eb4559ce0ab18f03f3e898765ac302e7
BLAKE2b-256 8f8e9ad090d3553c280a8060fbf6e24dc1c0c29704ee7d1c372f0c174aa59285

See more details on using hashes here.

Supported by

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