using show() multiple times: no longer

Aside from my wishes, should the script fail in this fashion

    > (rather than being more gracefully rejected)? I realize we
    > have been warned against using show() multiple times ...

We've taken pains to protect against multiple calls to show. If you
can provide a script which replicates the problem. Please test
against the latest matplotlib, preferably the next release, due out
tomorrow barring the unexpected (which is never expected).

    > Somewhat related: can I control the order in which figures
    > are displayed when the show() command is given, or will the
    > highest numbered figure always display on top?

This may be backend dependent, I haven't tested it. But if it is the
highest figure on top you should be in good shape, right?, because you
can provide the figure numbers in the order you want the figures
to appear, bottom to top.

JDH

Somewhat related: can I control the order in which figures
are displayed when the show() command is given, or will the
highest numbered figure always display on top?

This may be backend dependent, I haven't tested it. But if it is the
highest figure on top you should be in good shape, right?, because you
can provide the figure numbers in the order you want the figures
to appear, bottom to top.

i. This is not a huge deal, as it seems to be manageable
just as you say.
ii. However, as I add to a script to illustrate more
issues, which should come later in a presentation,
this implies renumbering all the figures. Not ideal.
iii. So it seems the opposite of the current convention
would be an improvement: show figure 1 last, so that it
is "on top" in a presentation. This would be my first
preference.
iv. Or, could show take an argument---a tuple of
numbers determining the order for the figures to appear.
This would be my 2nd preference.

fwiw,
Alan Isaac

···

On Sun, 12 Dec 2004, John Hunter apparently wrote:

Will do.

Thank you,
Alan Isaac

···

On Sun, 12 Dec 2004, John Hunter apparently wrote:

We've taken pains to protect against multiple calls to show. If you
can provide a script which replicates the problem. Please test
against the latest matplotlib, preferably the next release, due out
tomorrow barring the unexpected (which is never expected).