Source code for scenic.domains.driving.workspace

"""Workspaces for the driving domain."""

from scenic.core.workspaces import Workspace


[docs]class DrivingWorkspace(Workspace): """Workspace created from a road `Network`.""" def __init__(self, network): self.network = network super().__init__() def show2D(self, plt): self.network.show() @property def minimumZoomSize(self): return 20