Skip to content

Commit

Permalink
Fix __init__ signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Aug 25, 2023
1 parent c2d6099 commit 52b0ad0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/napari_matplotlib/feature_histogram.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from typing import Optional

import numpy as np
from qtpy.QtWidgets import QCheckBox, QComboBox, QLabel
from qtpy.QtWidgets import QCheckBox, QComboBox, QLabel, QWidget

from .base import SingleAxesWidget

Expand All @@ -24,7 +26,9 @@ class FeatureHistogramWidget(SingleAxesWidget):
)

def __init__(
self, napari_viewer: napari.viewer.Viewer, column_name: str = None
self,
napari_viewer: napari.viewer.Viewer,
parent: Optional[QWidget] = None,
):
super().__init__(napari_viewer)

Expand Down

0 comments on commit 52b0ad0

Please sign in to comment.