Skip to content

Mark

Mark defines the type of geometry a visualization should use. Currently mark can be either hkw.mark.Surface, hkw.mark.Curve or hkw.mark.Point.

  • Surface: The surface mark indicates the geometry represents a 3D surface.
  • Curve: The curve mark indicates the geometry represents a set of 3D curves.
  • Point: The point mark indices the geometry represents a set of 3D points.

Mark

Here is an example of specifying the mark.

# As arguement to hkw.layer method.
l = hkw.layer(mark = hkw.mark.Surface)

# Or use .mark overwrite method.
l = hkw.layer().mark(hkw.mark.Surface)

# Mark can also be specified via string.
l = hkw.layer().mark("Surface")