Skip to content
Snippets Groups Projects
Commit 83cb359a authored by Gordon Ball's avatar Gordon Ball
Browse files

Update upstream source from tag 'upstream/0.1.7'

Update to upstream version '0.1.7'
with Debian dir 3e495248eea08d4beeb29fedf5d75a2d06ae4608
parents 6e38cea6 07a382e1
No related branches found
No related tags found
No related merge requests found
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
......@@ -3,10 +3,10 @@ name: Tests
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
defaults:
run:
......@@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.9]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
......
# Security Policy
## Reporting a Vulnerability
All IPython and Jupyter security are handled via security@ipython.org.
You can find more information on the Jupyter website. https://jupyter.org/security
## Tidelift
You can report security concerns for IPython via the [Tidelift platform](https://tidelift.com/security).
from . import backend_inline, config # noqa
__version__ = "0.1.6" # noqa
__version__ = "0.1.7" # noqa
......@@ -176,7 +176,7 @@ def configure_inline_support(shell, backend):
if cfg not in shell.configurables:
shell.configurables.append(cfg)
if backend == 'module://matplotlib_inline.backend_inline':
if backend in ('inline', 'module://matplotlib_inline.backend_inline'):
shell.events.register('post_execute', flush_figures)
# Save rcParams that will be overwrittern
......@@ -211,7 +211,7 @@ def _enable_matplotlib_integration():
from matplotlib import get_backend
ip = get_ipython()
backend = get_backend()
if ip and backend == 'module://%s' % __name__:
if ip and backend in ('inline', 'module://matplotlib_inline.backend_inline'):
from IPython.core.pylabtools import activate_matplotlib
try:
activate_matplotlib(backend)
......
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
[project]
name = "matplotlib-inline"
description = "Inline Matplotlib backend for Jupyter"
authors = [
{name = "IPython Development Team", email = "ipython-dev@python.org"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: IPython",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: 4",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
]
dependencies = ["traitlets"]
dynamic = ["version"]
keywords = [
"ipython",
"jupyter",
"matplotlib",
"python",
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.8"
[project.entry-points."matplotlib.backend"]
inline = "matplotlib_inline.backend_inline"
[project.urls]
Homepage = "https://github.com/ipython/matplotlib-inline"
[tool.setuptools.dynamic]
version = {attr = "matplotlib_inline.__version__"}
[metadata]
name = matplotlib-inline
version = attr: matplotlib_inline.__version__
description = Inline Matplotlib backend for Jupyter
long_description = file: README.md, LICENSE
long_description_content_type = text/markdown
author = IPython Development Team
author_email = ipython-dev@scipy.org
url = https://github.com/ipython/matplotlib-inline
license = BSD 3-Clause
license_file = LICENSE
keywords = python, ipython, matplotlib, jupyter
[options]
packages = find:
python_requires = >=3.5
install_requires =
traitlets
classifiers =
Framework :: Jupyter
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
from setuptools import setup
setup()
# setup.py shim for use with applications that require it.
__import__("setuptools").setup()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment