Skip to content

Commit 4dcb43e

Browse files
committed
Merge branch 'add-feature-histogram' of https://github.com/jo-mueller/napari-matplotlib into add-feature-histogram
2 parents 94b4b72 + 524fdbd commit 4dcb43e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/napari_matplotlib/scatter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def _get_valid_axis_keys(
314314
else:
315315
return self.layers[0].features.keys()
316316

317-
def _get_data(self) -> Tuple[List[np.ndarray], str, str]:
317+
def _get_data(self) -> Tuple[np.ndarray, str]:
318318
"""Get the plot data.
319319
320320
Returns
@@ -363,9 +363,9 @@ def draw(self) -> None:
363363
if len(data) == 0:
364364
return
365365

366-
_, _, _ = self.axes.hist(data, bins=50, edgecolor='white',
366+
self.axes.hist(data, bins=50, edgecolor='white',
367367
linewidth=0.3)
368368

369-
# # set ax labels
369+
# set ax labels
370370
self.axes.set_xlabel(x_axis_name)
371371
self.axes.set_ylabel('Counts [#]')

0 commit comments

Comments
 (0)