You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / magic / on_off

function

IPython.core.magic:on_off

source: /IPython/core/magic.py :60

Signature

def   on_off ( tag )

Summary

Return an ON/OFF string for a 1/0 input. Simple utility function.

Aliases

  • IPython.core.magic.on_off