ggplotnim/ggplot_vega

Source   Edit  

Procs

proc `+`(p: GgPlot; d: VegaDraw) {....raises: [Exception, ValueError, KeyError,
    FormulaMismatchError, AestheticError, IOError, OSError, JsonParsingError], tags: [
    RootEffect, ReadIOEffect, WriteIOEffect, ReadEnvEffect, WriteDirEffect].}
Source   Edit  
proc ggvegaCreate(p: GgPlot; vegaDraw: VegaDraw): JsonNode {....raises: [Exception,
    ValueError, KeyError, FormulaMismatchError, AestheticError, IOError,
    OSError, JsonParsingError], tags: [RootEffect, ReadIOEffect, WriteIOEffect].}
Source   Edit  
proc showVega(data: JsonNode; fname: string) {.
    ...raises: [ValueError, OSError, IOError, Exception], tags: [ReadEnvEffect,
    ReadIOEffect, WriteIOEffect, RootEffect, WriteDirEffect].}
Source   Edit  
proc toVegaLite(p: GgPlot; filledScales: FilledScales; theme: Theme;
                width, height: float): JsonNode {....raises: [IOError, OSError,
    JsonParsingError, ValueError, Exception, KeyError, FormulaMismatchError],
    tags: [ReadIOEffect, WriteIOEffect, RootEffect].}
converts a GgPlot object to a vega-lite conform JsonNode Source   Edit