def napari_info(message): print(message) if _ipython_has_eventloop(): NapariQtNotification(message, 'INFO').show()
def napari_warn(message): warnings.warn(message) if _ipython_has_eventloop(): NapariQtNotification(message, 'WARNING').show()
def napari_info(message): print(message) if _ipython_has_eventloop(): NapariQtNotification(message, 'INFO').show()
def napari_warn(message): warnings.warn(message) if _ipython_has_eventloop(): NapariQtNotification(message, 'WARNING').show()