Closed tlambert03 closed 1 year ago
the CanvasAdaptorProtocol currently has all three of:
CanvasAdaptorProtocol
@abstractmethod def _vis_set_width(self, arg: int) -> None: ... @abstractmethod def _vis_set_height(self, arg: int) -> None: ... @abstractmethod def _vis_set_size(self, arg: tuple[int, int]) -> None: ...
I think i did this cause pygfx only had a size setter and vispy had the other? can't remember. but we only need _vis_set_size and should remove the other two (setting just width, e.g. can just provide the current height to _vis_setsize)
_vis_set_size
the
CanvasAdaptorProtocol
currently has all three of:I think i did this cause pygfx only had a size setter and vispy had the other? can't remember. but we only need
_vis_set_size
and should remove the other two (setting just width, e.g. can just provide the current height to _vis_setsize)