var default_figure = { width: 400, height: 400, data: {}, axes: [], plugins: [{ type: "reset" }, { type: "zoom" }, { type: "boxzoom" }] }; var default_axes = { xlim: [0, 1], ylim: [0, 1], bbox: [0.1, 0.1, 0.8, 0.8], axesbg: "#EAEAF2", axesbgalpha: 1.0, gridOn: true, xdomain: null, ydomain: null, xscale: "linear", yscale: "linear", zoomable: true, axes: [{ position: "left" }, { position: "bottom" }], grids: [], xgridprops: {}, ygridprops: {}, lines: [], paths: [], markers: [], texts: [], collections: [], sharex: [], sharey: [], images: [] }; var default_grid = { xy: "x", color: "#FFFFFF", dasharray: "0, 0", alpha: "1.0", nticks: 10, gridOn: true, tickvalues: null, zorder: 0 }; var default_line = { data: null, xindex: 0, yindex: 1, coordinates: "data", color: "salmon", linewidth: 2, dasharray: "10,0", alpha: 1.0, zorder: 2 }; var default_path = { data: null, xindex: 0, yindex: 1, coordinates: "data", facecolor: "green", edgecolor: "black", edgewidth: 1, dasharray: "10,0", pathcodes: null, offset: null, offsetcoordinates: "data", alpha: 1.0, zorder: 1 } var default_collection = { data: null, paths: null, offsets: null, xindex: 0, yindex: 1, pathtransforms: [], pathcoordinates: "display", offsetcoordinates: "data", offsetorder: "before", edgecolors: ["#000000"], edgewidths: [1.0], facecolors: ["#0000FF"], alphas: [1.0], zorder: 2 } var default_markers = { data: null, xindex: 0, yindex: 1, coordinates: "data", facecolor: "salmon", edgecolor: null, edgewidth: 1, alpha: 1.0, markersize: 2, markername: "circle", markerpath: null, zorder: 3 };