This release adds Narwhals support for broader dataframe compatibility. By doing so, we now also support Polars and DuckDB data backends.
Another new feature is the addition of sizebar support for Points elements, allowing for better visualization of point sizes in plots.
Along with these new features, this release includes numerous enhancements, bug fixes, compatibility updates, and improved documentation.
Many thanks to @epaaso (first contribution), @thuydotm (first contribution), @ahuang11, @Azaya89, @maximlt, @philippjfr, @stanwest, and @hoxbro for their contributions.
New Features:
Enhancements:
- Add
gridstyleto matplotlib (#6700) - Add
from_sparseclassmethod forGraph(#6673) - Add support for synthetic legends on
ImageStackPlot(#6662) - Sync tools with Bokeh and use
auto_box_zoomas default (#6650) - Add hover filter (#6646)
- Improve error message for non-matching types when aspect is set to equal (#6103)
- Use
ImageStackas anelement_typeinrasterize(#6631) - Improve
core.utilto work better without pandas installed (#6702) - Implement
link_selections.unlink(#6685)
Deprecations:
- Deprecate
IbisInterfaceforNarwhalsInterface(#6718)
Performance:
- Optimize
HeatMaprendering path if gridded and contiguous (#6680) - Add debounce support to
PlotSizeandRangeXYBokeh callbacks (#6672) - Don't import IPython in
find_stack_level(#6724)
Bug Fixes:
- Interpolation for
Imagewithdatashade(#6707) subcoordinate_yforDynamicMapif labels mismatched between plots (#6694)- Setting
selection_exprprogrammatically (#6689) - Handle
node_colorin element transformations for Bokeh and MPL (#6678) hv.dimandhv.Dimensionas color opts for Matplotlib Path plots (#6721, #6665)- Use native bokeh
xmarker in plots and legends (#6676) - Silence Bokeh
FIXED_SIZING_MODEwarning on hv.save (#6674) - Comparison for non-numeric dtypes (#6671)
- Allow discovering
.applyoperation on pipeline (#6670) dendrogramedgecases (#6669)- Don't select in
decimateif start and end are the same (#6661)
Compatibility: