Is there the way to close previous plotting window when I input the second plotting command.

asked 2014-11-25 11:26:42 +0100

anonymous user


updated 2017-11-22 13:03:43 +0100

FrédéricC gravatar image


The title is my question.

I am using SAGE in terminal of Mac OSX.

When I input the latter plotting command NEW plotting window opens.

For example,

sage: G=graphs.CompleteGraph(2)
sage: G.plot()                    <--------- the first window open
sage: G.add_vertex(3)
sage: G.plot()                    <--------- the second window open

I want to view only one plotting window.

How can I do?

edit retag flag offensive close merge delete


I don't think this is possible without changing some inner workings of how we pop up plots. For such a situation, the notebook interface is ideal.

kcrisman gravatar imagekcrisman ( 2014-11-25 14:41:05 +0100 )edit