Skip to content

Commit 61fc9d4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f2cf208 commit 61fc9d4

File tree

4 files changed

+23
-25
lines changed

4 files changed

+23
-25
lines changed

examples/callbacks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
88
"""
99

10+
from typing import Tuple
11+
1012
import matplotlib.pyplot as plt
1113
import numpy as np
1214

13-
from typing import Tuple
1415
from mpl_point_clicker import clicker
1516

16-
1717
image = np.load("example_image.npy")
1818

1919
fig, ax = plt.subplots()

mpl_point_clicker/_clicker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def set_positions(self, positions):
126126
for k, v in positions.keys():
127127
self._positions[k] = list(v)
128128
self._observers.process('pos-set', self.get_positions())
129-
129+
130130
def _on_pick(self, event):
131131
# On the pick event, find the original line corresponding to the legend
132132
# proxy line, and toggle its visibility.

setup.cfg

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
11
[metadata]
2-
name=mpl_point_clicker
3-
author=Ian Hunt-Isaak
4-
author_email[email protected]
5-
url = https://github.com/ianhi/mpl-point-clicker
6-
license=BSD 3-Clause
2+
name = mpl_point_clicker
73
long_description = file: README.md
84
long_description_content_type = text/markdown
5+
url = https://github.com/ianhi/mpl-point-clicker
6+
author = Ian Hunt-Isaak
7+
author_email = [email protected]
8+
license = BSD-3-Clause
9+
license_file = LICENSE
10+
classifiers =
11+
License :: OSI Approved :: BSD License
912

1013
[options]
1114
packages = find:
12-
13-
keywords =
14-
Matplotlib
15-
1615
install_requires =
1716
matplotlib
1817
numpy
19-
2018
classifiers =
2119
Intended Audience :: Developers
2220
Intended Audience :: Science/Research
2321
License :: OSI Approved :: BSD License
2422
Programming Language :: Python
2523
Programming Language :: Python :: 3
2624
Framework :: Matplotlib
25+
keywords =
26+
Matplotlib
2727

2828
[options.extras_require]
29-
test =
30-
black
31-
pytest
32-
pytest-mpl
33-
mpl-playback
3429
doc =
35-
sphinx
30+
autoapi
3631
numpydoc
37-
sphinx_rtd_theme
38-
sphinx-copybutton
32+
sphinx
3933
sphinx-autobuild
34+
sphinx-copybutton
4035
sphinx_gallery>=0.8.2
41-
autoapi
36+
sphinx_rtd_theme
37+
test =
38+
black
39+
mpl-playback
40+
pytest
41+
pytest-mpl
4242

4343
[flake8]
4444
exclude = docs, _version.py, .eggs, example
4545
max-line-length = 88
4646
docstring-convention = "numpy"
4747
extend-ignore =
48-
# See https://github.com/PyCQA/pycodestyle/issues/373
49-
E203, E501
48+
E203, E501

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from setuptools import setup
22

3-
43
if __name__ == "__main__":
54
setup()

0 commit comments

Comments
 (0)