[Python] Avoid to stop on first PDF file?

Discussão em 'Python' iniciado por Stack, Julho 10, 2025.

  1. Stack

    Stack Membro Participativo

    When I use memory_graph by render(), I can get two image files correctly: 'mutable1.png', 'mutable2.png'

    import memory_graph as mg
    a = [4, 3, 2]
    b = a
    mg.render(locals(), 'mutable1.png')
    b += [1]
    mg.render(locals(), 'mutable2.png')


    but when I use show(), PDF viewer is stopping at first PDF file:

    import memory_graph as mg
    a = [4, 3, 2]
    b = a
    mg.show(locals())
    b += [1]
    mg.show(locals())


    How can I avoid to stop on first PDF file?

    Continue reading...

Compartilhe esta Página