1.0.3 • Published 6 years ago
@haydenhigg/plot v1.0.3
@haydenhigg/plot
This is a package for easily creating plotly graphs of two sets of data, one with lines and one without (as in the way you'd want for graphing actual vs predicted values for certain algorithms).
Usage
Note: make sure that your .credentials file is set-up as per plotly's standards with your username and api key. This package reads from that file to generate graphs.
const plot = require("@haydenhigg/plot");
var x = [];
var y = [];
var predictedY = [];
// ...get some data
plot(x, y, predictedY[, options = {xLabel = "x-axis", yLabel = "y-axis", title = "Actual vs Predicted");