plotomics
    Preparing search index...

    Function makeAnywidget

    • Wraps a headless component PlotomicsFactory into the object anywidget expects ({ render }). Every Python component ships an entry that is one line: export default makeAnywidget(createX);

      Trait contract (Python side mirrors these names):

      • data Dict : { columns?: {strCol: string[]}, meta?: {...} }
      • buffer Bytes : packed numeric columns (optional, fast path)
      • schema Dict : BufferSchema describing buffer (optional)
      • options Dict : component options
      • _height Int : initial height hint in CSS px

      Type Parameters

      • O

      Parameters

      Returns { render(__namedParameters: { el: HTMLElement; model: AnyModel }): () => void }