Skip to content

Releases: juba/pyobsplot

v0.5.1

12 Sep 21:15
83cad90
Compare
Choose a tag to compare
  • Plot.plot() performance should now be equivalent to the one of a generator object
  • New shortcut syntax Plot.line(...).plot() is now available (#18, thanks @harrylojames)
  • Bugfix: typst error with certain decimal padding values.

v0.5.0

28 Aug 16:52
530a4ad
Compare
Choose a tag to compare

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

v0.4.2

08 Feb 19:20
Compare
Choose a tag to compare
  • Fix jsdom renderer file saving encoding (#22, @harrylojames)
  • Update Observable Plot to 0.6.13
  • Migrate build system from poetry to hatch
  • Update pyarrow and apache-arrow to 15.0.0 and remove data frame conversion to 32bits data types before serialization

v0.4.1

11 Oct 07:43
Compare
Choose a tag to compare
  • Plots generated by the widget renderer can now be saved to HTML files
  • Move required Python version to 3.9
  • Update pyarrow to 13.0.0

v0.4.0

08 Oct 21:11
Compare
Choose a tag to compare
  • Plots generated by the jsdom renderer can now be saved to HTML or SVG files
  • Update Observable Plot to 0.6.11

v0.3.8

21 Aug 13:35
Compare
Choose a tag to compare
  • Update Observable Plot to 0.6.10
  • Add styling for titles, subtitles and captions
  • Update anywidget to 0.6.3

v0.3.7

03 Jul 12:22
Compare
Choose a tag to compare
  • Update Observable Plot to 0.6.9
  • Update anywidget to 0.6.1

v0.3.6

08 Jun 14:14
Compare
Choose a tag to compare
  • Fix UnicodeDecodeError with widget renderer on Windows (#17, thanks @harrylojames)
  • Timestamp and datetime dataframe columns are now converted to JavaScript Date (#19, thanks @harrylojames)
  • Update anywidget to 0.4.3

v0.3.5

07 Jun 10:26
Compare
Choose a tag to compare
  • Update Observable Plot to 0.6.8 (tooltips and interactions in widget renderer)
  • Add light/dark/current modes
  • Update apache-arrow to 12.0.0
  • Update anywidget to 0.4.2

v0.3.4

29 Apr 17:35
Compare
Choose a tag to compare
  • Add small padding around figure outputs for jsdom renderer to improve presentation over non-white backgrounds.
  • Update Observable Plot to 0.6.6.