Skip to content

v0.4.0

Choose a tag to compare

@zoccoler zoccoler released this 14 Jul 08:13
· 24 commits to main since this release
7fd3370

What's Changed

  • Pick single point or bin at a time by @zoccoler in #60
    • Introduce the internal attribute _allow_multiple_highlights (defaults to False) to optionally allow highlighting multiple points/bins
    • Make toggle buttons from all toolbars uniquely activated
    • Change cursor icon to crosshair when selectors are activated and cursor is inside plot
    • Make Esc key clear all previously highlighted points and de-activate any previously activated toolbar buttons
    • Remove support for Python 3.9
    • Ensure removing rectangle pacthes from highlighted bins in case artist is cleared
    • Scatter data get color from index 0 of colormap in case color_indices are fed with np.nan (effect of clearing overlay similar to feeding with 0s)
    • Catch warning when histogram is fed with np.nan
    • Extend docstrings of a few methods
    • Update documentation
    • Update automated tests
    • Update running state of example notebooks, adding examples for the highlighted new feature
  • Highlight data by @zoccoler in #58
    • Add ids property to Artist abstract class
    • Add bin_alpha property to Histogram2D
    • Add highlighted property to artists (Artist abstract class) that receives a binary mask array, allowing individual points (for Scatter) and bins (for Histogram2D) to be highlighted after being clicked
      • A highlighted_changed_signal is emitted when highlighted property changes
      • Each artist must address a _highlight_data method that changes the visualization of the data points corresponding to the chosen indices
      • Add method highlight_data_by_ids to Artist, allowing points to be highlighted from code based on given ids
  • Update CI matrix to use latest macOS and Python versions by @zoccoler in #69
  • Remove book deployment GitHub Actions workflow by @zoccoler in #70

Full Changelog: v0.3.2...v0.4.0