Re: [matplotlib-devel] Why num in manager?

2015-05-06 Thread Eric Firing
On 2015/05/06 9:19 AM, Federico Ariza wrote: > Hello > > Is there any reason why the "num" property is assigned to the manager > and not to the figure? I think this is because the figure is at the object-oriented API level. The manager is in the pyplot state-machine level. > Pyplot.gcf is to g

[matplotlib-devel] Why num in manager?

2015-05-06 Thread Federico Ariza
Hello Is there any reason why the "num" property is assigned to the manager and not to the figure? Pyplot.gcf is to get the "current figure" not the "current manager". In general this is not a problem. But I'm working on MEP23 where one manager can contain several figures. And it would be pretty