You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that in this case we need to have 0.125 inches margin on each side (not 0.25 as in the description), and margin=0.25 (not 0.125 as in the code) because we multiply this margin by 0.5 when we call plt.subplots_adjust().
Is it correct?
Thank you.
The text was updated successfully, but these errors were encountered:
You're right. We need 0.125 margin on each side and the 0.5* is confusing (and wrong). Figure in the book seems to be the right size but probably the difference is not noticeable. Can you make a PR?
Hi @rougier,
There is a statement about additional figure margins for Exercise 2 solution:
scientific-visualization-book/code/anatomy/inch-cm.py
Lines 13 to 15 in a6e0607
And there is a code that performs this adjustment:
scientific-visualization-book/code/anatomy/inch-cm.py
Lines 27 to 38 in a6e0607
It seems that in this case we need to have 0.125 inches margin on each side (not 0.25 as in the description), and
margin=0.25
(not 0.125 as in the code) because we multiply this margin by 0.5 when we callplt.subplots_adjust()
.Is it correct?
Thank you.
The text was updated successfully, but these errors were encountered: