<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _es_text(settings, text_formating = {}):
 """ Extract text formating related subset of widget settings. """

        s = {k: settings[k] for k in (ConsoleWidget.SETTING_FLAG_PLAIN,)}
        s.update(text_formating)
        return s