porespy
                                
                                 porespy copied to clipboard
                                
                                    porespy copied to clipboard
                            
                            
                            
                        Remove `return_mask` argument in `find_trapped_regions`
The find_trapped_regions function has an option to return_mask which is True by default.  This argument should be removed and a mask should always be returned.  The user can just multiply the input image by the mask to the the ``return_mask=False` result.  I don't know which other functions this is found, but the same logic applies.