SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
179 stars 15 forks source link

add different options to change histogram settings (bin size etc.) #16

Closed Vindaar closed 6 years ago

Vindaar commented 6 years ago

I started adding more options to customize histogram plots. It's now possible to set different bin numbers, bin ranges, bin sizes, create cumulative and normalized histograms.

To keep the % func for Trace a little cleaner, I added a parseHistogramFields func, which adds the histogram related fields to the result.

I'll add an example in the soon, that's why I mark this WIP.

Vindaar commented 6 years ago

Finally managed to fix some remaining bugs and add a few example plots. Sorry it took so long. :)

brentp commented 6 years ago

cheers!