Datashader

Latest version: v0.17.0

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.17.0

---------------------------

This release adds an enhancement that optimizes edge bundling using optimized numba code. The minimum supported version of Python is now 3.10, along with making pillow and dask optional dependencies. This release also adds compatibility changes to several downstream libraries, build updates, bugfixes, and documentation updates. Thanks to first time contributors `rhkarls <https://github.com/rhkarls>`_, `lmcinnes <https://github.com/lmcinnes>`_, `thomas-reimonn <https://github.com/thomas-reimonn>`_, `amaloney <https://github.com/amaloney>`_; and regular contributors `hoxbro <https://github.com/hoxbro>`_ and `maximlt <https://github.com/maximlt>`_.

Breaking Changes:

- Drop support for Python 3.9 (`1399 <https://github.com/holoviz/datashader/pull/1399>`_)
- Making dask and pillow optional dependencies (`1350 <https://github.com/holoviz/datashader/pull/1350>`_, `#1365 <https://github.com/holoviz/datashader/pull/1365>`_)

Enhancements:

- Edge bundling speedup using optimized numba code (`1383 <https://github.com/holoviz/datashader/pull/1383>`_)

Build:

- Updates to build infrastructure (`1372 <https://github.com/holoviz/datashader/pull/1372>`_)
- Fix documentation builds (`1391 <https://github.com/holoviz/datashader/pull/1391>`_)

Compatibility:

- Updated environment pins (`1355 <https://github.com/holoviz/datashader/pull/1355>`_)
- Compatibility with cuDF 24.12 (`1363 <https://github.com/holoviz/datashader/pull/1363>`_, `#1378 <https://github.com/holoviz/datashader/pull/1378>`_)
- Compatibility with dask 2025.1 and dask-expr 2 (`1369 <https://github.com/holoviz/datashader/pull/1369>`_, `#1390 <https://github.com/holoviz/datashader/pull/1390>`_, `#1394 <https://github.com/holoviz/datashader/pull/1394>`_)
- Compatibility with pixi v0.40.0 (`1387 <https://github.com/holoviz/datashader/pull/1387>`_)
- Compatibility with Python 3.13 (`1398 <https://github.com/holoviz/datashader/pull/1398>`_)

Bugfixes:

- PDF scaling bug (`1382 <https://github.com/holoviz/datashader/pull/1382>`_)

Documentation:

- Update supported Python versions (`1371 <https://github.com/holoviz/datashader/pull/1371>`_)
- Update links and fix warnings (`1375 <https://github.com/holoviz/datashader/pull/1375>`_, `#1377 <https://github.com/holoviz/datashader/pull/1377>`_, `#1402 <https://github.com/holoviz/datashader/pull/1402>`)

Maintenance:

- Move to pixi and hatchling (`1354 <https://github.com/holoviz/datashader/pull/1354>`_)
- General maintenance (`1357 <https://github.com/holoviz/datashader/pull/1357>`_)
- Updated linting rules (`1367 <https://github.com/holoviz/datashader/pull/1367>`_, `#1368 <https://github.com/holoviz/datashader/pull/1368>`_)

0.16.3

---------------------------

This release adds an enhancement and compatibility changes with upstream libraries. Thanks to `raphaelquast <https://github.com/raphaelquast>`_, `droumis <https://github.com/droumis>`_ and `hoxbro <https://github.com/hoxbro>`_.

Enhancements:

- Add fail-fast for datasets outside the visible extent (`1345 <https://github.com/holoviz/datashader/pull/1345>`_)

Compatibility:

- Compatibility with cudf 2024.06 (`1344 <https://github.com/holoviz/datashader/pull/1344>`_)
- Compatibility with geopandas 1.0 and dask-geopandas 0.4.0 (`1347 <https://github.com/holoviz/datashader/pull/1347>`_)

Maintenance:

- Update docs.yaml (`1346 <https://github.com/holoviz/datashader/pull/1346>`_)

0.16.2

---------------------------

This release adds compatibility with Numpy 2.0, along with other improvements and bugfixes. Thanks to `hoxbro <https://github.com/hoxbro>`_ for his contributions.

Bugfixes:

- Remove artifact from Polygon rendering (`1329 <https://github.com/holoviz/datashader/pull/1329>`_)

Compatibility:

- Test dev releases of ``numpy`` 2.0 and ``numba`` 0.60.0 (`1332 <https://github.com/holoviz/datashader/pull/1332>`_)
- Improve compatibility with ``dask-expr`` (`1335 <https://github.com/holoviz/datashader/pull/1335>`_)
- Add gpu marker for test and test both classic and ``dask-expr`` ``Dask.DataFrame``'s (`1341 <https://github.com/holoviz/datashader/pull/1341>`_)

Documentation:

- Update links (`1337 <https://github.com/holoviz/datashader/pull/1337>`_, `#1339 <https://github.com/holoviz/datashader/pull/1339>`_)
- Update readme badges (`1334 <https://github.com/holoviz/datashader/pull/1334>`_)
- Add download data script (`1326 <https://github.com/holoviz/datashader/pull/1326>`_)

Maintenance:

- Update list of maintainers (`1336 <https://github.com/holoviz/datashader/pull/1336>`_)
- Parallelize the test suite and fix a test polluted bug (`1338 <https://github.com/holoviz/datashader/pull/1338>`_)
- Update test workflow (`1340 <https://github.com/holoviz/datashader/pull/1340>`_)

0.16.1

---------------------------

This release brings compatibility with new release of upstream packages. Thanks to first-time contributor `alexander-beedie <https://github.com/alexander-beedie>`_, and the regular contributors `philippjfr <https://github.com/philippjfr>`_, `ianthomas23 <https://github.com/ianthomas23>`_, `maximlt <https://github.com/maximlt>`_, and `hoxbro <https://github.com/hoxbro>`_.

Enhancements:

- Improved antialiased mean reduction (`1300 <https://github.com/holoviz/datashader/pull/1300>`_)
- Update the docstring of ``eq_hist`` (`1322 <https://github.com/holoviz/datashader/pull/1322>`_)

Compatibility:

- Python 3.12 support (`1317 <https://github.com/holoviz/datashader/pull/1317>`_)
- Basic ``dask_expr`` support (`1317 <https://github.com/holoviz/datashader/pull/1317>`_)
- Numpy 2.0 support (`1306 <https://github.com/holoviz/datashader/pull/1306>`_)
- Remove redundant py2 helper code (`1316 <https://github.com/holoviz/datashader/pull/1316>`_)

Maintenance:

- Replace Google Analytics with GoatCounter (`1309 <https://github.com/holoviz/datashader/pull/1309>`_)
- Docs: ignore numpydoc validation checks (`1310 <https://github.com/holoviz/datashader/pull/1310>`_)
- Fix test suite (`1314 <https://github.com/holoviz/datashader/pull/1314>`_)
- General maintenance (`1320 <https://github.com/holoviz/datashader/pull/1320>`_)

0.16.0

- ``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 <https://github.com/J08ny>`_ and regular contributors `Hoxbro <https://github.com/Hoxbro>`_ and `ianthomas23 <https://github.com/ianthomas23>`_.

Enhancements:

- Support rendering of GeoPandas GeoDataFrames as lines, points and polygons (`1285 <https://github.com/holoviz/datashader/pull/1285>`_, `#1293 <https://github.com/holoviz/datashader/pull/1293>`_, `#1297 <https://github.com/holoviz/datashader/pull/1297>`_)
- Implement lines using 2D xarray with common x coordinates (`1282 <https://github.com/holoviz/datashader/pull/1282>`_)

General code improvements:

- Add debug logging to compiler module (`1280 <https://github.com/holoviz/datashader/pull/1280>`_)
- Vendor DataShape (`1284 <https://github.com/holoviz/datashader/pull/1284>`_)
- Don't use ``object`` as base class (`1286 <https://github.com/holoviz/datashader/pull/1286>`_)
- Fix typos using ``codespell`` (`1288 <https://github.com/holoviz/datashader/pull/1288>`_)
- Fix ``float16`` being a floating type. (`1290 <https://github.com/holoviz/datashader/pull/1290>`_)
- Simplify line ``_internal_build_extend`` (`1294 <https://github.com/holoviz/datashader/pull/1294>`_)

Improvements to CI:

- Update to latest ``holoviz_tasks`` (`1281 <https://github.com/holoviz/datashader/pull/1281>`_)
- Update ``codecov`` configuration (`1292 <https://github.com/holoviz/datashader/pull/1292>`_)
- Add ``pre-commit`` (`1295 <https://github.com/holoviz/datashader/pull/1295>`_, `#1296 <https://github.com/holoviz/datashader/pull/1296>`_)

Compatibility:

- Support Pandas 2.1 (`1276 <https://github.com/holoviz/datashader/pull/1276>`_, `#1287 <https://github.com/holoviz/datashader/pull/1287>`_)
- Replace ``np.NaN`` with ``np.nan`` (`1289 <https://github.com/holoviz/datashader/pull/1289>`_)
- Drop support for Python 3.8 (`1291 <https://github.com/holoviz/datashader/pull/1291>`_)

0.15.2

---------------------------

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 <https://github.com/Hoxbro>`_, `ianthomas23 <https://github.com/ianthomas23>`_, `maximlt <https://github.com/maximlt>`_ and `thuydotm <https://github.com/thuydotm>`_.

Enhancements:

* Antialiasing line support for inspection reductions:

- Pre-compile antialias stage 2 combination (`1258 <https://github.com/holoviz/datashader/pull/1258>`_)
- Antialiased min and max row index reductions (`1259 <https://github.com/holoviz/datashader/pull/1259>`_)
- CPU ``shift_and_insert`` function (`1260 <https://github.com/holoviz/datashader/pull/1260>`_)
- Refactor of CUDA ``*_n`` reductions (`1261 <https://github.com/holoviz/datashader/pull/1261>`_)
- Support antialiased lines in ``*_n`` reductions (`1262 <https://github.com/holoviz/datashader/pull/1262>`_)
- Replace accumulate with copy on first call to antialiased stage 2 combine (`1264 <https://github.com/holoviz/datashader/pull/1264>`_)
- Separate where ``combine_cpu`` functions by ndim (`1265 <https://github.com/holoviz/datashader/pull/1265>`_)
- Antialiased line support for ``where`` reductions (`1269 <https://github.com/holoviz/datashader/pull/1269>`_)

* Improved support for ``summary`` reductions:

- Support ``by`` reduction within ``summary`` reduction (`1254 <https://github.com/holoviz/datashader/pull/1254>`_)
- Support ``summary`` containing ``by`` reduction with other reductions (`1257 <https://github.com/holoviz/datashader/pull/1257>`_)
- Support ``summary`` containing multiple ``where`` with the same selector (`1271 <https://github.com/holoviz/datashader/pull/1271>`_)

* CUDA support for ``std`` and ``var`` reductions (`1267 <https://github.com/holoviz/datashader/pull/1267>`_)

General code improvements:

- Remove pyarrow pin (`1248 <https://github.com/holoviz/datashader/pull/1248>`_)

Improvements to CI:

- Update ``holoviz_tasks`` to v0.1a15 (`1251 <https://github.com/holoviz/datashader/pull/1251>`_)
- Use ``holoviz_tasks/install`` action for docs (`1272 <https://github.com/holoviz/datashader/pull/1272>`_)

Improvements to documentation:

- Update readme to include Python 3.11 (`1249 <https://github.com/holoviz/datashader/pull/1249>`_)
- Correct links to pandas docs (`1250 <https://github.com/holoviz/datashader/pull/1250>`_)
- Remove twitter from index page (`1253 <https://github.com/holoviz/datashader/pull/1253>`_)
- Create FUNDING.yml (`1263 <https://github.com/holoviz/datashader/pull/1263>`_)

Page 1 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.