nim-plotly icon indicating copy to clipboard operation
nim-plotly copied to clipboard

Make the "x" argument of the plotly_sugar functions (such as as scatterPlot) optional

Open AngelEzquerra opened this issue 2 years ago • 0 comments

Currently you must provide both the x and y arguments to most of the plotly sugar plotting functions. Sometimes you just want to plat a sequence, and you don't really care about the x-axis. It would be nice if the plot sugar functions such as scatterPlot*(x, y: untyped) could also be called with a single argument (y), which would just plot the values on an axis that started at 0, for example.

AngelEzquerra avatar Nov 01 '21 12:11 AngelEzquerra