Releases: juba/pyobsplot
Releases · juba/pyobsplot
v0.5.4
v0.5.3.3
v0.5.3.2
- Installing the package with
pip install pyobsplot
now does not install thetypst
dependency anymore. To install typst and allow to use all the renderers, you have to install withpip install pyobsplot[typst]
. This change has been made so thatpyobsplot
(with the widget renderer) could be used in pyodide-based environments like JupyterLite and Marimo.
v0.5.2
v0.5.1
v0.5.0
Breaking changes
- The plot generator API has been changed. Generators are no more defined with a
renderer
argument, aformat
is specified instead. This format can either bewidget
,html
,svg
orpng
. Sorenderer="widget"
is replaced byformat="widget"
(which is the default), whereasrenderer="jsdom"
is replaced byformat="html"
or one of the newformat="svg"
andformat="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