v0.4.0
What's Changed
- Pick single point or bin at a time by @zoccoler in #60
- Introduce the internal attribute
_allow_multiple_highlights(defaults toFalse) 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
Esckey 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
Scatterdata get color from index 0 of colormap in casecolor_indicesare fed withnp.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
- Introduce the internal attribute
- Highlight data by @zoccoler in #58
- Add
idsproperty toArtistabstract class - Add
bin_alphaproperty toHistogram2D - Add
highlightedproperty to artists (Artistabstract 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_signalis emitted whenhighlightedproperty changes - Each artist must address a
_highlight_datamethod that changes the visualization of the data points corresponding to the chosen indices - Add method
highlight_data_by_idstoArtist, allowing points to be highlighted from code based on givenids
- A
- Add
- 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