Vindaar / ggplotnim

A port of ggplot2 for Nim
https://vindaar.github.io/ggplotnim
MIT License
176 stars 15 forks source link

Fix outline right bin edge, fix #99, improve stacking logic #119

Closed Vindaar closed 3 years ago

Vindaar commented 3 years ago

Multiple small changes. All things that bugged me finally enough while working on https://github.com/SciNim/getting-started/pull/27.

Changelog:

* v0.4.1
- fix issue #99 by doing a rewrite of the stacking logic. Handled in
  post processing stage now and data is stored in DF (same as for
  counts)
- fix issue that last bin edge showed up as points etc. if using
  points together with a histogram
- fix drawing of frequency polygon lines, now take into account bin
  width to close of the final lines on each site
- hdOutline histograms can now be drawn correctly as stacked
  histograms (but if using alpha they are still visible behind the
  other bars!)