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

bundles / IPython 9.2.0 / IPython / core / magic / on_off

function

IPython.core.magic:on_off

source: /dev/ipython/IPython/core/magic.py:54

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