Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 10, 2022
1 parent c24f3f9 commit c5583dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions panel/pane/vtk/vtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def __init__(self, object=None, **params):
super(VTKRenderWindow, self).__init__(object, **params)
if object is not None:
self.color_mappers = self.get_color_mappers()
self._update()
self._update(None, None)

def _get_model(
self, doc: Document, root: Optional[Model] = None,
Expand Down Expand Up @@ -650,7 +650,7 @@ class VTKVolume(AbstractVTK):
def __init__(self, object=None, **params):
super().__init__(object, **params)
self._sub_spacing = self.spacing
self._update()
self._update(None, None)

@classmethod
def applies(cls, obj: Any) -> float | bool | None:
Expand Down
2 changes: 1 addition & 1 deletion panel/widgets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Widget(Reactive):
_supports_embed: ClassVar[bool] = False

# Declares the Bokeh model type of the widget
_widget_type: ClassVar[Type[Model]]
_widget_type: ClassVar[Type[Model] | None] = None

__abstract = True

Expand Down

0 comments on commit c5583dc

Please sign in to comment.