Skip to content

v0.5.0

Compare
Choose a tag to compare
@juba juba released this 28 Aug 16:52
· 29 commits to main since this release
530a4ad

Breaking changes

  • The plot generator API has been changed. Generators are no more defined with a renderer argument, a format is specified instead. This format can either be widget, html, svg or png. So renderer="widget" is replaced by format="widget" (which is the default), whereas renderer="jsdom" is replaced by format="html" or one of the new format="svg" and format="png".
  • The "kwargs" alternative syntax is now deprecated and will generate errors. Plots must be defined either by passing a specification dictionary, or a call to a Plot.xxx method.

Other changes

  • Plots can now be generated in "svg" and "png", and saved as "svg", "png" or "pdf". This is done by converting figures using typst. Many thanks to @wirhabenzeit and @harrylojames for the idea, the underlying code and the feedback.
  • Update Observable Plot to 0.6.16
  • Migrate project management from hatch to uv