Skip to content

Upgrading scikit-image 0.24 to 0.25

Breaking0.24.0 → 0.25.2Breaking3Platform2Deprecated5New3Changed11Fixed15Other89

BreakingUpgrade verdict

3 breaking changes and 2 platform requirement changes.

  • The old plot_matches function is gone; switch to plot_matched_features.
  • The 3D-specific skeletonize function is removed; the general skeletonize now handles it.
  • Removes the deprecated gaussian output parameter.
  • This version no longer runs on Python 3.9; you need a newer Python.
Top 5 of 10 that need code or config changes

Python requirement changed in 0.25.0rc0: >=3.9 → >=3.10.

Breaking3
Completes the deprecation of and removes skimage.feature.plot_matches; use skimage.feature.plot_matched_features instead.
skimage.feature.plot_matchesskimage.feature.plot_matched_features
Removes deprecated skimage.morphology.skeletonize_3d; use skimage.morphology.skeletonize instead.
skimage.morphology.skeletonize_3dskimage.morphology.skeletonize
Removes the deprecated gaussian output parameter.
gaussian
Platform2
Drops Python 3.9 support.
Adds support for Python 3.13.
Deprecated5
Deprecates skimage.io.imshow, skimage.io.imshow_collection and skimage.io.show; use matplotlib, napari, etc. to visualize images.
skimage.io.imshowskimage.io.imshow_collectionskimage.io.show
Deprecates the skimage.io plugin infrastructure.
skimage.io
Deprecates skimage.morphology.rectangle in favor of the new skimage.morphology.footprint_rectangle.
skimage.morphology.rectangleskimage.morphology.footprint_rectangle
Deprecates skimage.morphology.square in favor of the new skimage.morphology.footprint_rectangle.
skimage.morphology.squareskimage.morphology.footprint_rectangle
Deprecates skimage.morphology.cube in favor of the new skimage.morphology.footprint_rectangle.
skimage.morphology.cubeskimage.morphology.footprint_rectangle

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: variable submodules
  • added: export data_dir
  • added: export dtype_limits
  • added: export img_as_bool
  • added: export img_as_float
  • added: export img_as_float32
  • added: export img_as_float64
  • added: export img_as_int
  • added: export img_as_ubyte
  • added: export img_as_uint
  • added: export lookfor
  • removed: export plot_matches
  • added: export plot_matched_features
  • added: variable np2
  • removed: function plot_matches(ax, image1, image2, keypoints1, keypoints2, matches, keypoints_color=…, matches_color=…, only_matches=…, alignment=…)
  • removed: variable WRAP_LEN
  • removed: variable available_plugins
  • added: export centroid
  • removed: export cube
  • removed: export rectangle
  • removed: export square
  • added: export footprint_rectangle
  • added: function footprint_rectangle(shape, *, dtype=…, decomposition=…)