I suggest looking at skimage (
for contouring code.
If you are absolutely dependent on that API, the source is available from
previous releases and you are welcome to vendor or create a stand-alone
library (not sure how hard that would actually be).
Please do not use private APIs. We can (and will!) change them with no
On Mon, Mar 5, 2018 at 3:45 AM Fabien <fabien.maussion at gmail.com> wrote:
matplotlib._cntr.Cntr is gone in version 2.2. I know this was a private
module but it ended up being used by some (a quick online search will
show you some examples. ie this SO post:
The use case for this class (as shown by the examples online) was to
obtain polygon contours of labeled regions in a 2D array.
Is there an alternative implementation available? The solutions I've
found online imply making a plot, which isn't really what I'm looking for.
Thanks a lot!
Matplotlib-users mailing list
Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...