Releases: posit-dev/py-shinywidgets
Releases · posit-dev/py-shinywidgets
shinywidgets 0.5.1
shinywidgets 0.5.0
- Updates to accomodate the new plotly v6.0.0 release. (#182)
- Fixed an issue with plotly graphs sometimes not getting fully removed from the DOM. (#178)
- Added
anywidget
as a package dependency since it's needed now foraltair
andplotly
(and installing this packages won't necessarily installanywidget
). (#183) - Fixed an issue with ipyleaflet erroring out when attempting to read the
.model_id
property of a closed widget object. (#179) - Fixed an issue where altair charts would sometimes render to a 0 height after being shown, hidden, and then shown again. (#180)
shinywidgets 0.4.2
Fixed an issue where @render_widget
would sometimes incorrectly render a new widget without removing the old one. (#167)
shinywidgets 0.4.1
Fixed a Python 3.9 compatibility issue.
shinywidgets 0.4.0
- Fixed a memory leak issue. (#167)
shinywidgets 0.3.4
shinywidgets 0.3.3
- Fixed a bug with receiving binary data on the frontend, which gets quak and mosaic-widget working with
@render_widget
. (#152)
shinywidgets 0.3.2
shinywidgets 0.3.1
- Widgets no longer have a "flash" of incorrect size when first rendered. (#133)
@render_widget
now works properly withWidget
s that aren'tDOMWidget
s (i.e., widgets that aren't meant to be displayed directly). As a result, you can now use@render_widget
to gain a reference to the widget instance, and then use that reference to update the widget's value. (#133)
shinywidgets 0.3.0
- The
@render_widget
decorator now attaches awidget
(andvalue
) attribute to the function it decorates. This allows for easier access to the widget instance (or value), and eliminates the need forregister_widget
(which is now soft deprecated). (#119) - Added decorators for notable packages that require coercion to the
Widget
class:@render_altair
,@render_bokeh
,@render_plotly
, and@render_pydeck
. Using these decorators (over@render_widget
) helps with typing on thewidget
attribute. (#119) - The
.properties()
method onaltair.Chart
object now works as expected again. (#129) - Reduce default plot margins on plotly graphs.