Skip to content

Releases: holoviz/datashader

Version 0.16.3

04 Jul 16:40
5d22b11
Compare
Choose a tag to compare

This release adds an enhancement and compatibility changes with upstream libraries. Thanks to @raphaelquast, @droumis, and @hoxbro.

Enhancements:

  • Add fail-fast for datasets outside the visible extent (#1345)

Compatibility:

  • Compatibility with cudf 2024.06 (#1344)
  • Compatibility with geopandas 1.0 and dask-geopandas 0.4.0 (#1347)

Maintenance:

  • Update docs.yaml (#1346)

Version 0.16.2

31 May 10:06
7f31d04
Compare
Choose a tag to compare

This release adds compatibility with Numpy 2.0, along with other improvements and bug fixes. Thanks to @hoxbro for his contributions.

Bugfixes:

  • Remove artifact from Polygon rendering (#1329)

Compatibility:

  • Test dev releases of numpy 2.0 and numba 0.60.0 (#1332)
  • Improve compatibility with dask-expr (#1335)
  • Add gpu marker for test and test both classic and dask-expr Dask.DataFrame's (#1341)

Documentation:

Maintenance:

  • Update list of maintainers (#1336)
  • Parallelize the test suite and fix a test polluted bug (#1338)
  • Update test workflow (#1340)

Version 0.16.1

23 Apr 11:57
6fabb75
Compare
Choose a tag to compare

This release brings compatibility with the new release of upstream packages. Thanks to the first-time contributor @alexander-beedie, and the regular contributors @philippjfr, @ianthomas23, @maximlt, and @hoxbro.

Enhancements:

  • Improved antialiased mean reduction (#1300)
  • Update the docstring of eq_hist (#1322)

Compatibility:

  • Python 3.12 support (#1317)
  • Basic dask_expr support (#1317)
  • Numpy 2.0 support (#1306)
  • Remove redundant py2 helper code (#1316)

Maintenance:

  • Replace Google Analytics with GoatCounter (#1309)
  • Docs: ignore numpydoc validation checks (#1310)
  • Fix test suite (#1314)
  • General maintenance (#1320)

Version 0.16.0

26 Oct 15:10
v0.16.0
Compare
Choose a tag to compare

Datashader 0.16.0 is a significant release adding support for rendering GeoPandas GeoDataFrames directly rather than having to convert them to SpatialPandas first. Support for GeoPandas geometry types in Datashader Canvas functions is as follows:

  • Canvas.line: LineString, MultiLineString, MultiPolygon, Polygon
  • Canvas.point: MultiPoint, Point
  • Canvas.polygons: MultiPolygon, Polygon

There is also support in Canvas.line for a new data type which is a 2D xarray.DataArray (within an xarray.Dataset) containing the coordinates of multiple lines that share the same x coordinates.

The DataShape package is now vendored in Datashader as it has not been maintained for a number of years and is not accepting updates.

Thanks to new contributor @J08nY and regular contributors @hoxbro and @ianthomas23.

Enhancements:

  • Support rendering of GeoPandas GeoDataFrames as lines, points and polygons (#1285, #1293, #1297)
  • Implement lines using 2D xarray with common x coordinates (#1282)

General code improvements:

  • Add debug logging to compiler module (#1280)
  • Vendor DataShape (#1284)
  • Don't use object as base class (#1286)
  • Fix typos using codespell (#1288)
  • Fix float16 being a floating type. (#1290)
  • Simplify line _internal_build_extend (#1294)

Improvements to CI:

  • Update to latest holoviz_tasks (#1281)
  • Update codecov configuration (#1292)
  • Add pre-commit (#1295, #1296)

Compatibility:

  • Support Pandas 2.1 (#1276, #1287)
  • Replace np.NaN with np.nan (#1289)
  • Drop support for Python 3.8 (#1291)

Version 0.15.2

17 Aug 10:44
v0.15.2
b510594
Compare
Choose a tag to compare

This release adds antialiased line support for inspection reductions such as max_n and where, including within categorical by reductions. It also improves support for summary reductions and adds CUDA implementations of std and var reductions.

Thanks to regular contributors @hoxbro, @ianthomas23, @maximlt and @thuydotm.

Enhancements:

  • Antialiasing line support for inspection reductions:

    • Pre-compile antialias stage 2 combination (#1258)
    • Antialiased min and max row index reductions (#1259)
    • CPU shift_and_insert function (#1260)
    • Refactor of CUDA *_n reductions (#1261)
    • Support antialiased lines in *_n reductions (#1262)
    • Replace accumulate with copy on first call to antialiased stage 2 combine (#1264)
    • Separate where combine_cpu functions by ndim (#1265)
    • Antialiased line support for where reductions (#1269)
  • Improved support for summary reductions:

    • Support by reduction within summary reduction (#1254)
    • Support summary containing by reduction with other reductions (#1257)
    • Support summary containing multiple where with the same selector (#1271)
  • CUDA support for std and var reductions (#1267)

General code improvements:

  • Remove pyarrow pin (#1248)

Improvements to CI:

  • Update holoviz_tasks to v0.1a15 (#1251)
  • Use holoviz_tasks/install action for docs (#1272)

Improvements to documentation:

  • Update readme to include Python 3.11 (#1249)
  • Correct links to pandas docs (#1250)
  • Remove twitter from index page (#1253)
  • Create FUNDING.yml (#1263)

Version 0.15.1

05 Jul 19:35
v0.15.1
0204ef0
Compare
Choose a tag to compare

This release contains an important bug fix to ensure that categorical column order in maintained across dask partitions. It also adds support for categorical inspection reductions such as by(max_n). The only missing functionality for inspection reductions is now antialiased lines, which in planned for the next release.

Thanks to contributors @ianthomas23, @maximlt and @philippjfr.

Bug fixes:

  • Fix single category reductions (#1231)
  • Ensure categorical column order is the same across dask partitions (#1239)

Enhancements:

  • Categorical inspection reductions:

    • Support by(max_n) and by(min_n) (`#1229)
    • Categorical max_row_index, max_n_row_index and min equivalents (#1233)
    • Use enum for row index column rather than None (#1234)
    • Add support for categorical where reductions (#1237)
    • Add tests for handling of NaNs in where reductions (#1241)
  • General code improvements:

    • Only check dask.DataFrame dtypes of columns actually used (#1236)
    • Remove all use of OrderedDict (#1242)
    • Separate out 3d and 4d combine functions (#1243)
    • Reorganise antialiasing code (#1245)

Improvements to CI:

  • Bump holoviz tasks (#1240)
  • Add image is close test helper (#1244)

Improvements to documentation:

  • Update to Google Analytics 4 (#1228)
  • Rename pyviz-dev as holoviz-dev (#1232)

Version 0.15.0

01 Jun 09:16
v0.15.0
Compare
Choose a tag to compare

This release provides significant improvements for inspection reductions by adding new first_n, last_n, max_n and min_n reductions, and providing Dask and CUDA support for all existing and new inspection reductions including where. It also provides support for Numba 0.57, NumPy 1.24 and Python 3.11, and drops support for Python 3.7.

Thanks to first-time contributors @danigm and @Jap8nted, and also regulars @hoxbro, @philippjfr and @ianthomas23.

Enhancements:

  • Inspection reductions:

    • Reduction append functions return index not boolean (#1180)
    • first_n, last_n, max_n and min_n reductions (#1184)
    • Add cuda argument to _build_combine (#1194)
    • Support max_n and min_n reductions on GPU (#1196)
    • Use fast cuda mutex available in numba 0.57 (#1212)
    • Dask support for first, last, first_n and last_n reductions (#1214)
    • Wrap use of cuda mutex in where reductions (#1217)
    • Cuda and cuda-with-dask support for inspection reductions (#1219)
  • x and y range attributes on returned aggregations (#1198)

  • Make datashader.composite imports lazy for faster import time (#1222)

  • Improvements to CI:

    • Cancel concurrent test workflows (#1208)
  • Improvements to documentation:

    • Inspection reduction documentation (#1186, #1190)
    • Upgrade to latest nbsite and pydata-sphinx-theme (#1221)
    • Use geodatasets in example data

Bug fixes:

  • Fix conversion from cupy in categorical rescale_discrete_levels (#1179)
  • Validate canvas width, height (#1183)
  • Support antialiasing in pipeline API (#1213)

Compatibility:

Version 0.14.4

02 Feb 14:26
v0.14.4
Compare
Choose a tag to compare

This release adds a new where reduction that provides improved inspection capabilities and adds support for colormaps that are tuples of hex values. There are also various bug fixes and compatibility improvements.

Thanks to @ianthomas23, @maximlt and @hoxbro.

Enhancements:

  • New where reduction to provide improved inspection functionality:

    • Add new where reduction (#1155)
    • Where reduction using dataframe row index (#1164)
    • CUDA support for where reduction (#1167)
    • User guide page for where reduction (#1172)
  • Support colormaps that are tuples of hex values (#1173)

  • Add governance docs (#1165)

  • Improve documentation build system (#1170, #1171)

  • Improvements to CI:

    • Rename default branch from master to main (#1156)
    • Use holoviz_task install action (#1163)

Bug fixes:

  • Validate calculated log canvas range (#1154)

  • Better validate canvas.line() coordinate lengths (#1160)

  • Return early in eq_hist() if all data masked out (#1168)

Compatibility:

  • Follow recommended numba best practice.

    • Ensure cuda functions are correctly jitted (#1153)
    • nopython=True everywhere (#1162)
  • Update dependencies:

    • Pip pyarrow in tests dependencies (#1174)

Version 0.14.3

17 Nov 19:35
v0.14.3
b69aaef
Compare
Choose a tag to compare

This release fixes a bug related to spatial indexing of spatialpandas.GeoDataFrames, and introduces enhancements to antialiased lines, benchmarking and GPU support.

Thanks to first-time contributors @eriknw and @raybellwaves, and also @ianthomas23 and @maximlt.

Enhancements:

  • Improvements to antialiased lines:

    • Fit antialiased line code within usual numba/dask framework (#1142)
    • Refactor stage 2 aggregation for antialiased lines (#1145)
    • Support compound reductions for antialiased lines on the CPU (#1146)
  • New benchmark framework:

    • Add benchmarking framework using asv (#1120)
    • Add cudf, dask and dask-cudf Canvas.line benchmarks (#1140)
  • Improvements to GPU support:

    • Cupy implementation of eq_hist (#1129)
  • Improvements to documentation:

  • Improvements to dependency management (#1111, #1116)

  • Improvements to CI (#1132, #1135, #1136, #1137, #1143)

Bug fixes:

  • Ensure spatial index _sindex is retained on dataframe copy (#1122)

Version 0.14.2

10 Aug 16:21
v0.14.2
Compare
Choose a tag to compare

This is a bug fix release to fix an important divide by zero bug in antialiased lines, along with improvements to documentation and handling of dependencies.

Thanks to @ianthomas23 and @adamjhawley.

Enhancements:

  • Improvements to documentation:

    • Fix links in docs when viewed in browser (#1102)
    • Add release notes (#1108)
  • Improvements to handling of dependencies:

    • Correct dask and bokeh dependencies (#1104)
    • Add requests as an install dependency (#1105)
    • Better handle returned dask npartitions in tests (#1107)

Bug fixes:

  • Fix antialiased line divide by zero bug (#1099)