Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent 0110c05 commit f6130ec
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,4 @@ def linkcode_resolve(domain, info):

fn = os.path.relpath(fn, start=os.path.dirname(mpl_inter.__file__))

return f"https://github.com/mpl-extensions/mpl-interactions/blob/main/mpl_interactions/{fn}{linespec}" # noqa: E501
return f"https://github.com/mpl-extensions/mpl-interactions/blob/main/mpl_interactions/{fn}{linespec}"
8 changes: 4 additions & 4 deletions docs/examples/context.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "9bdc7777-5241-4944-a12b-46f05c894dbe",
"id": "0",
"metadata": {},
"source": [
"# Contextmanager for Controls object\n",
Expand All @@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4c34e1ff-3ef3-4090-a2bd-7dcb3701e58b",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -25,7 +25,7 @@
},
{
"cell_type": "markdown",
"id": "28ae4a71-a451-4846-be37-161a42d4a18e",
"id": "2",
"metadata": {},
"source": [
"## Using all params\n",
Expand Down Expand Up @@ -63,7 +63,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "852d736e-2839-4b22-9bd5-1e7b4e35a1d9",
"id": "3",
"metadata": {
"tags": []
},
Expand Down
1 change: 1 addition & 0 deletions docs/examples/gallery/heatmap_slicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
=============
"""

import matplotlib.pyplot as plt
import numpy as np

Expand Down
1 change: 1 addition & 0 deletions docs/examples/gallery/mpl-sliders-same-figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Demonstration of how to provide a matplotlib slider to prevent
the creation of a separate controls figure.
"""

import matplotlib.pyplot as plt
import numpy as np
from matplotlib.widgets import Slider
Expand Down
16 changes: 8 additions & 8 deletions docs/examples/text-annotations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "ddddb250-faff-496c-8f0e-6935196ec14a",
"id": "0",
"metadata": {},
"source": [
"# Text and Annotations\n",
Expand All @@ -16,7 +16,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ec2f6996-5f39-4009-a94d-e3a3fda108d9",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -31,7 +31,7 @@
},
{
"cell_type": "markdown",
"id": "692989d9-07f1-4969-81d8-fc330f0aa5d4",
"id": "2",
"metadata": {},
"source": [
"## Working with text strings.\n",
Expand All @@ -50,7 +50,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d97390af-872e-42f5-a939-03b734b1cf4f",
"id": "3",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -84,7 +84,7 @@
},
{
"cell_type": "markdown",
"id": "1e152d5d-6c6f-4e87-b5d6-f6755f4bed17",
"id": "4",
"metadata": {},
"source": [
"## Arbitrarily placed text\n",
Expand All @@ -95,7 +95,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1ccdd8c4-91fa-440a-9a2d-dbea694ee92d",
"id": "5",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -125,7 +125,7 @@
},
{
"cell_type": "markdown",
"id": "e2aafbc0-7958-410e-a3b8-ce0a8a75ef30",
"id": "6",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
Expand All @@ -137,7 +137,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8eb7da4d-3e48-4b28-85a8-080ff85eee0d",
"id": "7",
"metadata": {
"tags": []
},
Expand Down
1 change: 0 additions & 1 deletion mpl_interactions/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Matplotlib widgets.
""" # noqa: D205


from collections.abc import Callable
from numbers import Number

Expand Down

0 comments on commit f6130ec

Please sign in to comment.