MCPcopy Create free account
hub / github.com/dcharatan/flowmap / __call__

Method __call__

flowmap/visualization/drawing/rendering.py:11–15  ·  view source on GitHub ↗
(
        self,
        xy: Float[Tensor, "point 2"],
    )

Source from the content-addressed store, hash-verified

9@runtime_checkable
10class ColorFunction(Protocol):
11 def __call__(
12 self,
13 xy: Float[Tensor, "point 2"],
14 ) -> Float[Tensor, "point 4"]: # RGBA color
15 pass
16
17
18def generate_sample_grid(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected