get_size_inches

Folks,
I've just noticed that in order to get the size of a figure in inches, one can
use:

fig.get_size_inches()

However, the corresponding 'set' method is

fig.set_figsize_inches()

Is this intentional ? Wouldn't it be better to keep the set/get methods
consistent ?

Thx for your insight
P.

Agreed. fig.set_figsize seems redundant, so I am changing it to
fig.set_size_inches. The old one will still be present, but will
issue a deprecation warning. I'll commit these changes soon.

- Charlie

ยทยทยท

On 8/29/06, PGM <pgmdevlist@...287...> wrote:

Folks,
I've just noticed that in order to get the size of a figure in inches, one can
use:
>>> fig.get_size_inches()
However, the corresponding 'set' method is
>>>fig.set_figsize_inches()

Is this intentional ? Wouldn't it be better to keep the set/get methods
consistent ?

Thx for your insight