github holoviz/datashader v0.13.0
Version 0.13.0

latest releases: v0.16.1, v0.16.1rc1, v1.16.1rc1...
2 years ago

Version 0.13.0

Thanks to Jim Bednar, Nezar Abdennur, Philipp Rudiger, and Jean-Luc Stevens.

Enhancements:

  • Defined new dynspread metric based on counting the fraction of non-empty pixels that have non-empty pixels within a given radius. The resulting dynspread behavior is much more intuitive than the old behavior, which counted already-spread pixels as if they were neighbors (#1001)
  • Added ds.count() as the default reduction for ds.by (#1004)

Bugfixes:

  • Fixed array-bounds reading error in dynspread (#1001)
  • Fix color_key argument for dsshow (#986)
  • Added Matplotlib output to the 3_Interactivity getting started page. (#1009)
  • Misc docs fixes (#1007)
  • Fix nan assignment to integer array in RaggedArray (#1008)

Compatibility:

  • Any usage of dynspread with datatypes other than points should be replaced with spread(), which will do what was probably intended by the original dynspread call, i.e. to make isolated lines and shapes visible. Strictly speaking, dynspread could still be useful for other glyph types if that glyph is contained entirely in a pixel, e.g. if a polygon or line segment is located within the pixel bounds, but that seems unlikely.
  • Dynspread may need to have the threshold or max_px arguments updated to achieve the same spreading as in previous releases, though the new behavior is normally going to be more useful than the old.

Don't miss a new datashader release

NewReleases is sending notifications on new releases.