Skip to content

Releases: Kotlin/kandy

v0.6.0

25 Mar 09:56
Compare
Choose a tag to compare

Added

  • Added candlestick plot (#149, #278). See documentation (guide and examples).
  • Added extensions Plot.toSVG(), Plot.toPNG(), Plot.toHTML() (#293).
  • Fixed tooltips behaviour (#156, #266). Now explicitly assigning tooltips removes side tooltips.
  • Added boxes new whiskerWidth parameter (#299).
  • Added void theme (#310).
  • Added margin text parameter (#323).
  • Added viridis color scales (#301).
  • Added new scales transformations (#311).
  • Added scale/axis position option (#306).
  • Added extension functions to export plots to JPG and PNG as ByteArray (#325) by @gulshanpatidar.

Changed

⚠️ Breaking:

  • Fixed naming of flavor/color scheme/theme (#127). Related properties was renamed:
    • flavor/Flavor -> theme/Theme
    • applyColorScheme -> applyTheme
    • theme/Theme -> style/Style
  • hide: Boolean argument in tooltips() was replaced with enable: Boolean with the opposite behavior.

Fixed

  • Tooltip bug (#136)

Documentation

v0.5.0

30 Nov 08:47
Compare
Choose a tag to compare

Api changes:

  • Stabilized core API - plot DSL:
    • plot creation with plot {} and DataFrame.plot {}
    • layers adding with LayerPlotContext.points {} and other layer functions
    • mappings (via function invocation) and settings(via var assignment) API
  • Most of internal API in DSL are hidden(#163)
  • Statistics was removed from kandy-lets-plot. The statistics have been reworked and separated into the new repository (private yet) and artifact.
  • Restructured packages

Documentation

Fixes and improvements

  • Fix bugs with plot dataset
  • Fix web outputs
  • Type parameters in scale creation functions are reordered according to arguments(#206)
  • Add scale type bound for aes (#96)
  • The static SVG view has been improved: it has become scalable and fitting.
  • Small API improvements

Note! ⚠️ Some parts of the API have been changed without backwards compatibility, as the API was under active development before version 0.5.0. In case you used kandy before 0.5.0 and you are experiencing difficulties with migration to 0.5.0, please contact us.

0.4.4

21 Jul 14:07
Compare
Choose a tag to compare

New dataset system: by default layer uses global dataset, but if user makes a first mapping from new source whose size differs from the length of the global dataset columns, the leer creates a new dataset

0.4.3: github compatible plot view

02 Jun 11:27
Compare
Choose a tag to compare

Now lets-plot kandy plots in notebooks are displayed on github in svg format. Check it out:
https://github.com/Kotlin/kandy/blob/main/examples/notebooks/lets-plot/lets_plot_cheatsheet.ipynb

0.4.2: minor improvements

25 May 17:40
6bed831
Compare
Choose a tag to compare
  • pie chart (#142)
  • alpha range validation (#130)
  • required aes validation (#144)
  • new LegendType API (#146)
  • hLine and vLine fix
  • tooltips API changes
  • new Brewer colors API

0.4.1

04 May 18:41
Compare
Choose a tag to compare
group by dataset handler test

0.4.0

13 Apr 20:28
Compare
Choose a tag to compare
anscombes_quartet notebook