<jupyter_start><jupyter_text>Illustrate `push, pop, hold, toy`From [ECE201-Style Circuit](https://schemdraw.readthedocs.io/en/latest/gallery/analog.htmlece201-style-circuit):<jupyter_code>d = schemdraw.Drawing(unit=2)  # unit=2 makes elements have shorter than normal leads
d.push()
d += (R1 := elm.Resistor().down().label('20Ω'))
d += (V1 := elm.SourceV().down().reverse().label('120V'))
d += elm.Line().right().length(3)
# d += elm.Dot()
d.pop()
d += elm.Line().right().length(3)
d += elm.Dot()
d += elm.SourceV().down().reverse().label('60V')
d += elm.Resistor().label('5Ω')
d += elm.Dot()
d += elm.LineDot().right().length(3)
d += elm.SourceI().up().label('36A')
d += elm.Resistor().label('10Ω')
d += elm.Dot()
d += elm.Line().left().length(3).hold()
d += elm.Line().right().length(3)
d += elm.Dot()
d += (R6 := elm.Resistor().down().toy(V1.end).label('6Ω'))
d += elm.Dot()
d += elm.Line().left().length(3).hold()
d += elm.Resistor().right().at(R6.start).label('1.6Ω')
d += elm.Dot().label('a')
d += elm.Line().right().at(R6.end)
d += elm.Dot().label('b')
d.draw()
help(schemdraw.Drawing)
dir(schemdraw.Drawing)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.27510917030567683, 'fraction_numerical': 0.03056768558951965, 'mean_word_length': 5.331491712707182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '450557', 'license': 'MIT', 'n_tokens_mistral': 501, 'n_tokens_neox': 480, 'n_words': 70, 'path': 'python/schemdraw-electrical_circuits.ipynb', 'repo_name': 'gregnordin/python-notes_to_self', 'size': '1145'}