pandocs
pandocs copied to clipboard
Generate multiple svg graphs
trafficstars
This work is based on #530 and should be merged in after that PR.
Example Usage:
import graph_render
graph1 = graph_render.GraphData(['Time (ms)'], 'graph1.csv', 'First Graph')
graph2 = graph_render.GraphData(['Demographic', 'Currency'], 'graph2.csv', 'Second Graph')
graph_render.gen_graphs([graph1, graph2])
I'm on this, thanks @glinesbdev !
Done in https://github.com/gbdev/pandocs/blob/master/src/imgs/src/preproc.py (PR https://github.com/gbdev/pandocs/pull/530)