Fix using matplotlib._all_deprecated, which is deprecated itself! by ericpre · Pull Request #44 · ppinard/matplotlib-scalebar (original) (raw)

This would affect orix (and dependent packages pyxem, kikuchipy, diffsims) as well. But, I don't actually get an error when doing from matplotlib_scalebar import scalebar with matplotlib==3.5.0, and it seems like _all_deprecated is still around in 3.5.0, since this works fine

from matplotlib import _all_deprecated, version print(version) 3.5.0