Releases: scikit-tda/kepler-mapper
Releases · scikit-tda/kepler-mapper
v2.1.0
This release modernizes a lot of kepler-mapper. We've dropped python 3.6 and 3.7 support, added support through python 3.12, updated the build process, github actions, and the read the docs build. There were lingering changes on master that never made it to pypi because of the broken release actions. The full list of updates is available below.
What's Changed
- Fix docs build by @deargle in #235
- Update code to new cover api by @erooke in #229
- Fix docs notebooks by @deargle in #237
- Fix divide-by-zero, deprecation, and futurewarnings by @erooke in #236
- Test cubes overlap cleaned up by @erooke in #232
- add ability to d3 vis to live-update min-intersection requirement by @deargle in #231
- fix missing links in docs 'applications' page by @deargle in #241
- refactor docs tocs and index page by @deargle in #239
- New html vis tutorial (blocked by #239) by @deargle in #240
- Update docs build by @catanzaromj in #253
- Switch python-igraph to igraph by @catanzaromj in #260
- Bump version, remove unnec imports, update release by @catanzaromj in #261
New Contributors
- @erooke made their first contribution in #229
- @catanzaromj made their first contribution in #253
- Thanks to @wingenium-nagesh, @blue-j, and @ulriks9 for catching a numpy bug.
Full Changelog: v2.0.1...v2.1.0
fix plotlyviz colors; fix agglomerative clustering; change searchbar default
2.0.1
Fixed
min_cluster_samples
now only accepts an int -- now AgglomerativeClustering works (#224)plotlyviz.scomplex_to_graph
no longer castscolor_values
to a 2d array, andvisuals._tooltip_components
now generates
either 1d or 2dmember_histogram
depending on dimensionality ofcolor_values
(#225)
Fixed/Changed
- The AND and OR searchbar queries no longer multiplies the base size of a node by the ratio of how many of its items match. Rather,
the base size of the node is simply multiplied by how many of its items match the query. With this change, the size of a node
during an AND or OR search query again directly reflects the number of items within the node. (#227) - The default search mode is now AND -- because that's the expected behavior, because that's how the google works (#227)
Brand new visualizations with color picker!
Visualization
All of the below changes apply to kmapper's D3 html visualization.
- added searchbar functionality (see documentation for include_searchbar in kmapper.visualize())
- upgraded d3 from v3 to v6 -- one huge benefit of the new d3-force library is that it is [deterministic](https:// twitter.com/mbostock/status/725124754701717504?lang=en), so a given graph will always render the same visually, across browsers and reloads.
- clicking on a node will set it as the "focus node" (the node for which details are shown in the details pane). until the user clicks off of the node. That is to say, click-focus is not lost if another node is moused-over. Click-focus is released if (1) another node is clicked on, or (2) if the user clicks on the blank canvas.
- hovering over a node will "freeze" it in place until no longer hovering over that node. This makes it easier to grab the node. If no node is currently set as the "focus node" via a click, then hovering over a node will also make it the focus node.
- once a node is dragged, it stays ("freezes") where it was dragged
- added the ability to freeze (and unfreeze) all nodes with keystrokes f and x,
- the focus node visually "pulses" in the display
- added the ability to "save" the positioning of all nodes in the display. Saves to a .json file. Node positioning can be re-loaded via providing the json save file.
- multiple color_values arrays can be passed, and switched between interactively in the display.
- the node color function can be specified, as a string, to any function available on the numpy base class (e.g., 'mean', 'median', 'max', 'min'. (Before, the only available function was np.mean.
- Multiple node color functions can be specified, and toggled between interactively in the display.
- The toolbar display now uses css flexbox, which avoids overlap-problems on smaller viewports.
Kmapper
- change several visualize-related functions to be private
- only support python >= 3.6
CI/CD revamp
New release process requires a new release!
Bug fixes and visualization improvements
JOSS Release
Adds JOSS paper title and description to zenodo metadata release information
JOSS Release (v3)
- Fix formatting in .zenodo.json
JOSS Release (v2)
- correct zenodo author metadata
JOSS Release (v1)
Cover fix, docs revamp
- New implementation of the cover API makes it consistent with the literature.
- New documentation website (kepler-mapper.scikit-tda.org).