code: def show_minimum_needs(self):
          
          # import here only so that it is AFTER i18n set up
          from safe.gui.tools.minimum_needs.needs_calculator_dialog import (
              NeedsCalculatorDialog
          )
  
          dialog = NeedsCalculatorDialog(self.iface.mainWindow())
          dialog.exec_()
docs: Show the minimum needs dialog.