Remove the specified scope :param str scope: Target scope name. Default is the current scope.
(scope: str = None)
| 327 | |
| 328 | |
| 329 | def remove(scope: str = None): |
| 330 | """Remove the specified scope |
| 331 | |
| 332 | :param str scope: Target scope name. Default is the current scope. |
| 333 | """ |
| 334 | if scope is None: |
| 335 | scope = get_scope() |
| 336 | assert scope != 'ROOT', "Can not remove `ROOT` scope." |
| 337 | send_msg('output_ctl', dict(remove=scope2dom(scope))) |
| 338 | |
| 339 | |
| 340 | def scroll_to(scope: str = None, position: str = Position.TOP): |
no test coverage detected
searching dependent graphs…