This is a major release containing a large number of features and API improvements. Specifically this release was devoted to improving the general usability and accessibility of the HoloViews API and deprecating parts of the API in anticipation for the 2.0 release. To enable deprecation warnings for these deprecations set:
hv.config.future_deprecations = True
The largest updates to the API relate to the options system which is now more consistent, has better validation and better supports notebook users without requiring IPython magics. The new dim transform generalizes the mapping from data dimensions to visual dimensions, greatly increasing the expressive power of the options system. Please consult the updated user guides for more information.
Special thanks for the contributions by Andrew Huang (@ahuang11), Julia Signell (@jsignell), Jon Mease (@jonmmease), and Zachary Barry (@zbarry).
Features:
- Generalized support for style mapping using
dimtransforms (#2152) - Added alternative to opts magic with tab-completion (#3173)
- Added support for Polygons with holes and improved contours operation (#3092)
- Added support for Links to express complex interactivity in JS (#2832)
- Plotly improvements including support for plotly 3.0 (#3194), improved support for containers (#3255) and support for more elements (#3256)
- Support for automatically padding plots using new
paddingoption (#2293) - Added
xlim/ylimplot options to simplify setting axis ranges (#2293) - Added
xlabel/ylabelplot options to simplify overriding axis labels (#2833) - Added
xformatter/yformatterplot options to easily override tick formatter (#3042) - Added
active_toolsoptions to allow defining tools to activate on bokeh plot initialization (#3251) - Added
FreehandDrawstream to allow freehand drawing on bokeh plots (#2937) - Added support for
cftimetypes for dates which are not supported by standard datetimes and calendars (#2728) - Added top-level
saveandrenderfunctions to simplify exporting plots (#3134) - Added support for updating Bokeh bokeh legends (#3139)
- Added support for indicating directed graphs with arrows (#2521)
Enhancements:
- Improved import times (#3055)
- Adopted Google style docstring and documented most core methods and classes (#3128
Bug fixes:
- GIF rendering fixed under Windows (#3151)
- Fixes for hover on Path elements in bokeh (#2472, #2872)
- Fixes for handling TriMesh value dimensions on rasterization (#3050)
Deprecations:
finalize_hooksrenamed tohooks(#3134)- All
*_indexand related options are now deprecated includingcolor_index,size_index,scaling_method,scaling_factor,size_fn(#2152) - Bars
group_index,category_indexandstack_indexare deprecated in favor of stacked option
(#2828) - Iris interface was moved to GeoViews (#3054)
- Top-level namespace was cleaned up (#2224)
ElementOperation,Layout.displayandmdimsargument to.tonow fully removed (#3128)Element.mapping,ItemTable.values,Element.table,HoloMap.split_overlays,ViewableTree.from_values,ViewableTree.regroupandElement.collapse_datamethods now marked for deprecation (#3128)