Datashader Versions Save

Quickly and accurately render even the largest data.

v0.12.1

3 years ago

Major release with new features that should really be considered part of the upcoming 0.13 release; please treat all the new features as experimental in this release due to it being officially a minor release (unintentionally).

Massive thanks to these contributors for substantial new functionality:

  • Nezar Abdennur (nvictus), Trevor Manz, and Thomas Caswell for their contributions to the new dsshow() support for using Datashader as a Matplotlib Artist, providing seamless interactive Matplotlib+Datashader plots.
  • Oleg Smirnov for category_modulo and category_binning for by(), making categorical plots vastly more powerful.
  • Jean-Luc Stevens for spread and dynspread support for numerical aggregate arrays and not just RGB images, allowing isolated datapoints to be made visible while still supporting hover, colorbars, and other plot features that depend on the numeric aggregate values.
  • Valentin Haenel for the initial anti-aliased line drawing support (still experimental).

Thanks to Jim Bednar, Philipp Rudiger, Peter Roelants, Thuy Do Thi Minh, Chris Ball, and Jean-Luc Stevens for maintenance and other contributions.

New features:

  • Expanded (and transposed) performance guide table (#961)
  • Add category_modulo and category_binning for grouping numerical values into categories using by() (#927)
  • Support spreading for numerical (non-RGB) aggregate arrays (#771, #954)
  • Xiaolin Wu anti-aliased line drawing, enabled by adding antialias=True to the Canvas.line() method call. Experimental; currently restricted to sum and max reductions ant only supporting a single-pixel line width. (#916)
  • Improve Dask performance issue from #899 using a tree reduction (#926)

Bugfixes:

  • Fix for xarray 0.17 raster files, supporting various nodata conventions (#991)
  • Fix RaggedArray tests to keep up with Pandas test suite changes (#982, #993)
  • Fix out-of-bounds error on Points aggregation (#981)
  • Fix CUDA issues (#973)
  • Fix Xarray handling (#971)
  • Disable the interactivity warning on the homepage (#983)

Compatibility:

  • Drop deprecated modules ds.geo (moved to xarray_image) and ds.spatial (moved to SpatialPandas) (#955)

v0.11.1

3 years ago

This release is primarily a compatibility release for newer versions of Rapids cuDF and Numba versions along with a small number of bug fixes. With contributions from @jonmmease, @stuartarchibald, @AjayThorve, @kebowen730, @jbednar and @philippjfr.

  • Fixes support for cuDF 0.13 and Numba 0.48 (#933)
  • Fixes for cuDF support on Numba>=0.51 (#934, #947)
  • Fixes tile generation using aggregators with output of boolean dtype (#949)
  • Fixes for CI and build infrastructure (#935, #948, #951)
  • Updates to docstrings (b1349e3, #950)

v0.11.0

3 years ago

This release includes major contributions from @maihde (generalizing count_cat to by, span for colorize), @jonmmease (Dask quadmesh support), @philippjfr and @jbednar (count_cat/by/colorize/docs/bugfixes), and Barry Bragg, Jr. (TMS tileset speedups).

New features (see getting_started/2_Pipeline.ipynb for examples):

  • New by() categorical aggregator, extending count_cat to work with other reduction functions, no longer just count. Allows binning of aggregates separately per category value, so that you can compare how that aggregate is affected by category value. (#875, #902, #904, #906). See example in the holoviews docs.
  • Support for negative and zero values in tf.shade for categorical aggregates. (#896, #909, #910, #908)
  • Support for span in _colorize(). (#875, #910)
  • Support for Dask-based quadmesh rendering for rectilinear and curvilinear mesh types (#885, #913)
  • Support for GPU-based raster mesh rendering (via Canvas.quadmesh) (#872)
  • Faster TMS tileset generation (#886)
  • Expanded performance guide (#868)

Bugfixes:

  • Misc bugfixes and improvements (#874, #882, #888, #889, #890, #891)

Compatibility (breaking changes and deprecations):

  • To allow negative-valued aggregates, count_cat now weights categories according to how far they are from the minimum aggregate value observed, while previously they were referenced to zero. Previous behavior can be restored by passing color_baseline=0 to count_cat or by.
  • count_cat is now deprecated and removed from the docs; use by(..., count()) instead.
  • Result of a count() aggregation is now uint32, not int32, to distinguish counts from other aggregation types (#910).
  • tf.shade now only treats zero values as missing for count aggregates (uint); zero is otherwise a valid value distinct from NaN (#910).
  • alpha is now respected as the upper end of the alpha range for both _colorize() and _interpolate() in tf.shade; previously only _interpolate respected it.
  • Added new nansum_missing utility for working with Numpy>1.9, where nansum no longer returns NaN for all-NaN values.
  • ds.geo and ds.spatial modules are now deprecated; their contents have moved to xarray_spatial and spatialpandas, respectively. (#894)

Download and install: https://datashader.org/getting_started

v0.10.0

4 years ago

This release includes major contributions from @jonmmease (polygon rendering, spatialpandas), along with contributions from @philippjfr and @brendancol (bugfixes), and @jbednar (docs, warnings, and import times).

New features:

  • Polygon (and points and lines) rendering for spatialpandas extension arrays (#826, #853)
  • Quadmesh GPU support (#861)
  • Much faster import times (#863)
  • New table in docs listing glyphs supported for each data library (#864,#867)
  • Support for remote Parquet filesystems (#818,#866)

Bugfixes and compatibility:

  • Misc bugfixes and improvements (#844, #860, #866)
  • Fix warnings and deprecations in tests (#859)
  • Fix Canvas.raster (padding, mode buffers, etc. #862)

Download and install: https://datashader.org/getting_started

v0.9.0

4 years ago

This release includes major contributions from @jonmmease (GPU support), along with contributions from @brendancol (viewshed speedups), @jbednar (docs), and @jsignell (examples, maintenance, website).

New features:

  • Support for CUDA GPU dataframes (cudf and dask_cudf) (#794, #793, #821, #841, #842)
  • Documented new quadmesh support (renaming user guide section 5_Rasters to 5_Grids to reflect the more-general grid support) (#805)

Bugfixes and compatibility:

  • Avoid double-counting line segments that fit entirely into a single rendered pixel (#839)
  • Improved geospatial toolbox, including 75X speedups to viewshed algorithm (#811, #824, #844)

v0.8.0

4 years ago

This release includes major contributions from @jonmmease (quadmesh and filled-area support), @brendancol (geospatial toolbox, tile previewer), @philippjfr (distributed regridding, dask performance), and @jsignell (examples, maintenance, website).

New features:

  • Native quadmesh (canvas.quadmesh()) support (for rectilinear and curvilinear grids -- 3X faster than approximating with a trimesh; #779)
  • Filled area (canvas.area()) support (#734)
  • Expanded geospatial toolbox, with support for:
    • Zonal statistics (#782)
    • Calculating viewshed (#781)
    • Calculating proximity (Euclidean and other distance metrics, #772)
  • Distributed raster regridding with Dask (#762)
  • Improved dask performance (#798, #801)
  • tile_previewer utility function (simple Bokeh-based plotting of local tile sources for debugging; #761)

Bugfixes and compatibility:

  • Compatibility with latest Numba, Intake, Pandas, and Xarray (#763, #768, #791)
  • Improved datetime support (#803)
  • Simplified docs (now built on Travis, and no longer requiring GeoViews) and examples (now on examples.pyviz.org)
  • Skip rendering of empty tiles (#760)
  • Improved performance for point, area, and line glyphs (#780)
  • InteractiveImage and Pipeline are now deprecated; removed from examples (#751)

v0.7.0

5 years ago

This release includes major contributions from @jonmmease (raqgged array extension, SpatialPointsFrame, row-oriented line storage, dask trimesh support), @jsignell (maintenance, website), and @jbednar (Panel-based dashboard).

New features:

  • Simplified Panel-based dashboard using new Param features; now only 48 lines with fewer new concepts (#707)
  • Added pandas ExtensionArray and Dask support for storing homogeneous ragged arrays (#687)
  • Added SpatialPointsFrame and updated census, osm-1billion, and osm examples to use it (#702, #706, #708)
  • Expanded 8_Geography.ipynb to document other geo-related functions
  • Added Dask support for trimesh rendering, though computing the mesh initially still requires vertices and simplicies to fit into memory (#696)
  • Add zero-copy rendering of row-oriented line coordinates, using a new axis argument (#694)

Bugfixes and compatibility:

  • Added lnglat_to_meters to geo module; new code should import it from there (#708)

v0.6.9

5 years ago

This release includes major contributions from @jonmmease (fixing several long-standing bugs), @jlstevens (updating all example notebooks to use current syntax, #685), @jbednar, @philippjfr, and @jsignell (Panel-based dashboard), and @brendancol (geo utilities).

New features:

  • Replaced outdated 536-line Bokeh dashboard.py with 71-line Panel+HoloViews dashboard .ipynb (#676)
  • Allow aggregating xarray objects (in addition to Pandas and Dask DataFrames) (#675)
  • Create WMTS tiles from Datashader data (#636)
  • Added various geographic utility functions (ndvi, slope, aspect, hillshade, mean, bump map, Perlin noise) (#661)
  • Made OpenSky data public (#691)

Bugfixes and compatibility:

  • Fix array bounds error on line glyph (#683)
  • Fixed the span argument to tf.shade (#680)
  • Fixed composite.add (for use in spreading) to clip colors rather than overflow (#689)
  • Fixed gerrymandering shape file (#688)
  • Updated to match Bokeh (#656), Dask (#681, #667), Pandas/Numpy (#697)

v0.6.8

5 years ago

Minor, mostly bugfix, release with some speed improvements.

New features:

  • Added Strange Attractors example (#632)
  • Major speedup: optimized dask datashape detection (#634)

Bugfixes and compatibility:

  • Silenced inappropriate warnings (#631)
  • Fixed various other bugs, including #644
  • Added handling for zero data and zero range (#612, #648)

v0.6.7

5 years ago

Minor compatibility release.

  • Supports dask >= 0.18.
  • Updated installation and usage instructions