Skip to content

Releases: flekschas/jupyter-scatter

v0.7.1

04 Apr 18:59
b31c787
Compare
Choose a tag to compare

Changes

  • Take the x-padding into account when setting a fixed width (#36)
  • Make width and height correspond to the canvas' (i.e., inner) dimensions such that Scatter(width=500, height=500) will lead to a canvas of size 500x500 px.

v0.7.0

04 Apr 19:00
b342bdc
Compare
Choose a tag to compare

Changes

  • Add support for legends via scatter.legend(True, position='top-right', size='small') (#30)

v0.6.1

04 Apr 19:00
35af41d
Compare
Choose a tag to compare

Changes

  • Remove accidentally added console.log

v0.6.0

04 Apr 19:01
71f1a57
Compare
Choose a tag to compare

Changes

  • Add support for axes labels via scatter.axes(labels=True) or scatter.axes(labels=['x-axis', 'y-axis']) (#29)

v0.5.1

04 Apr 19:01
5f69add
Compare
Choose a tag to compare

Changes

  • Fix issues when specifying the color, opacity, or size map via a dict

v0.5.0

04 Apr 19:02
fbda43a
Compare
Choose a tag to compare

Changes

  • Breaking changes:
    • For scatter.color(), rename color to default, color_selected to selected, and color_hover and hover
    • For scatter.opacity(), rename opacity to default
    • For scatter.size(), rename size to default
    • For scatter.connection_color(), rename color to default, color_selected to selected, and color_hover and hover
    • For scatter.connection_opacity(), rename opacity to default
    • For scatter.connection_size(), rename size to default
  • Add scatter.opacity(unselected=0.5). This property defines the opacity scaling factor of unselected points and must be in [0, 1]. This scaling is only applied if one or more points are selected.

v0.4.1

04 Apr 19:02
fa6e5dc
Compare
Choose a tag to compare

Changes

  • Fix an issue when dynamically resizing the scatter plot height
  • Fix an issue when switching from categorical to continuous color/opacity/size encoding

v0.4.0

04 Apr 19:03
8e6de1f
Compare
Choose a tag to compare

Changes

  • Breaking change: Renamed color_active and connection_color_active to color_selected and connection_color_selected respectively for clarity.
  • Add support for axes via Scatter(axes=True, axes_grid=True) or scatter.axes(True, grid=True).
  • Add support for log and power x/y scales via Scatter(x_scale='log') or scatter.y(scale='pow').
  • Add docstrings and type hints

v0.3.4

04 Apr 19:03
6dd6beb
Compare
Choose a tag to compare

Changes

  • Unset data-driven color, opacity, and size encoding when only a constant value was passed to an encoder function. E.g., after initializing scatter = Scatter(..., color_by='property'), calling scatter.color('red') will automatically unset color_by.

v0.3.3

04 Apr 19:04
29c127c
Compare
Choose a tag to compare

Changes

  • Fix scatter.pixels()