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 Sep 28, 2021
1 parent 5028ea8 commit 993b9a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"""

from typing import Tuple

import matplotlib.pyplot as plt
import numpy as np

from typing import Tuple
from mpl_point_clicker import clicker


image = np.load("example_image.npy")

fig, ax = plt.subplots()
Expand Down
2 changes: 1 addition & 1 deletion mpl_point_clicker/_clicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def set_positions(self, positions):
for k, v in positions.keys():
self._positions[k] = list(v)
self._observers.process('pos-set', self.get_positions())

def _on_pick(self, event):
# On the pick event, find the original line corresponding to the legend
# proxy line, and toggle its visibility.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ max-line-length = 88
docstring-convention = "numpy"
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
E203,
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from setuptools import setup


if __name__ == "__main__":
setup()

0 comments on commit 993b9a5

Please sign in to comment.