Skip to content

Commit 07fb5d1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5d52521 commit 07fb5d1

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

mpl_interactions/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def _ipython_display_(self):
350350

351351
def __getitem__(self, key):
352352
"""
353-
hack to allow calls like
353+
Hack to allow calls like
354354
interactive_plot(...beta=(0,1), controls = controls["tau"])
355355
also allows [None] to grab None of the current params
356356
to imply that we only want tau from the existing set of commands.

mpl_interactions/generic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
# functions that are methods
2626
__all__ = [
2727
"heatmap_slicer",
28-
"zoom_factory",
29-
"panhandler",
30-
"image_segmenter",
3128
"hyperslicer",
29+
"image_segmenter",
30+
"panhandler",
31+
"zoom_factory",
3232
]
3333

3434

mpl_interactions/helpers.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@
1414
from matplotlib.pyplot import sca as mpl_sca
1515

1616
__all__ = [
17-
"sca",
18-
"decompose_bbox",
19-
"update_datalim_from_xy",
20-
"update_datalim_from_bbox",
21-
"notebook_backend",
2217
"callable_else_value",
2318
"callable_else_value_no_cast",
24-
"kwarg_to_ipywidget",
25-
"kwarg_to_mpl_widget",
26-
"extract_num_options",
2719
"changeify",
28-
"create_slider_format_dict",
29-
"gogogo_figure",
20+
"choose_fmt_str",
3021
"create_mpl_controls_fig",
22+
"create_slider_format_dict",
23+
"decompose_bbox",
3124
"eval_xy",
32-
"choose_fmt_str",
25+
"extract_num_options",
26+
"gogogo_figure",
27+
"kwarg_to_ipywidget",
28+
"kwarg_to_mpl_widget",
29+
"notebook_backend",
30+
"sca",
31+
"update_datalim_from_bbox",
32+
"update_datalim_from_xy",
3333
]
3434

3535

mpl_interactions/pyplot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
)
3636

3737
__all__ = [
38-
"interactive_plot",
39-
"interactive_hist",
40-
"interactive_scatter",
41-
"interactive_imshow",
4238
"interactive_axhline",
4339
"interactive_axvline",
40+
"interactive_hist",
41+
"interactive_imshow",
42+
"interactive_plot",
43+
"interactive_scatter",
44+
"interactive_text",
4445
"interactive_title",
4546
"interactive_xlabel",
4647
"interactive_ylabel",
47-
"interactive_text",
4848
]
4949

5050

mpl_interactions/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
__all__ = [
1515
"figure",
16-
"nearest_idx",
17-
"ioff",
1816
"indexer",
17+
"ioff",
18+
"nearest_idx",
1919
]
2020

2121

0 commit comments

Comments
 (0)