Vindaar / ggplotnim

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

More misc fixes #109

Closed Vindaar closed 3 years ago

Vindaar commented 3 years ago

Another set of miscellaneous bug fixes of features I depended on for work.

Note: in principle the rewrite of the formula system was supposed to be done already. But since that's not the case, some (mini) patching of the current implementation is part of this PR.

Full changelog:

* v0.3.23
- better handling of ticks
- secondary axes can now be a transformed version of the primary axes
- =unique= has a =keepAll= option, which keeps all column in the
  resulting DF and not only those for which the unique check is
  performed
- fix bug in =readCsvTyped= for CSV files without an empty line at the
  end
- allow =nnkBracketExpr=, =nnkCurly= in formulas
- fix issue in =gather= when gathering a DF with multiple column
  types. Type of the gathered columns took all DF columns into
  account, even those not gathered.