github holoviz/datashader v0.16.0
Version 0.16.0

latest releases: v0.16.3, v0.16.3rc0, v0.16.2...
11 months ago

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)

Don't miss a new datashader release

NewReleases is sending notifications on new releases.