Ask Your Question
0

dimensions of image

asked 2019-03-12 02:10:26 +0100

Stiven gravatar image

I am having a little trouble when trying to specify the dimensions of a poset which I wish to see the graph of. I use name.show(figsize=[x,y]) but it's not giving me the expected image since it's only conserving the ratio, so it leaves off the y variable. If I wish to see the graph of the poset with dimensions 8x10, it should let me do so with the option figsize=[8,10], but it does not.

Can anyone help me with this issue?

Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-03-12 03:06:20 +0100

Juanjo gravatar image

Try name.show(figsize=8,aspect_ratio=10/8) and then adjust the values of figsize and aspect_ratio to fit your needs.

edit flag offensive delete link more

Comments

Juanjo you are a lifesaver! I googled this and searched a lot but had no luck. I really appreciate your help given. I owe you my life.

Stiven gravatar imageStiven ( 2019-03-12 14:02:55 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-03-12 02:10:26 +0100

Seen: 1,066 times

Last updated: Mar 12 '19