First time here? Check out the FAQ!

Ask Your Question
0

dimensions of image

asked 6 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 6 years ago

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.

Preview: (hide)
link

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 ( 6 years ago )

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: 6 years ago

Seen: 1,184 times

Last updated: Mar 12 '19