Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipython/matplotlib-inline
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.6
Choose a base ref
...
head repository: ipython/matplotlib-inline
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.1.7
Choose a head ref
  • 9 commits
  • 8 files changed
  • 3 contributors

Commits on Nov 20, 2023

  1. Add security.md

    Carreau committed Nov 20, 2023
    Copy the full SHA
    3afd5b6 View commit details
  2. Merge pull request #28 from Carreau/secmd

    Add security.md
    Carreau authored Nov 20, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    897871d View commit details
  3. Create dependabot.yml (#30)

    Carreau authored Nov 20, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d073f5e View commit details

Commits on Nov 21, 2023

  1. Copy the full SHA
    a61e9e7 View commit details
  2. test on main

    Carreau committed Nov 21, 2023
    Copy the full SHA
    0f419e3 View commit details

Commits on Mar 1, 2024

  1. Copy the full SHA
    876fe60 View commit details

Commits on Mar 12, 2024

  1. Add matplotlib.backend entry point

    ianthomas23 authored and SylvainCorlay committed Mar 12, 2024
    Copy the full SHA
    c5887ea View commit details

Commits on Apr 2, 2024

  1. Use short matplotlib backend name

    ianthomas23 authored and martinRenou committed Apr 2, 2024
    Copy the full SHA
    4af2f45 View commit details

Commits on Apr 15, 2024

  1. Release 0.1.7

    martinRenou committed Apr 15, 2024
    Copy the full SHA
    fc7dd9d View commit details
Showing with 78 additions and 41 deletions.
  1. +11 −0 .github/dependabot.yml
  2. +3 −3 .github/workflows/main.yml
  3. +10 −0 SECURITY.md
  4. +1 −1 matplotlib_inline/__init__.py
  5. +2 −2 matplotlib_inline/backend_inline.py
  6. +49 −0 pyproject.toml
  7. +0 −32 setup.cfg
  8. +2 −3 setup.py
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 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"
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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).
2 changes: 1 addition & 1 deletion matplotlib_inline/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from . import backend_inline, config # noqa
__version__ = "0.1.6" # noqa
__version__ = "0.1.7" # noqa
4 changes: 2 additions & 2 deletions matplotlib_inline/backend_inline.py
Original file line number Diff line number Diff line change
@@ -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)
49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[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__"}
32 changes: 0 additions & 32 deletions setup.cfg

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from setuptools import setup

setup()
# setup.py shim for use with applications that require it.
__import__("setuptools").setup()