This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twisterior
Recipients twisterior
Date 2021-01-26.13:46:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611668804.53.0.845816677703.issue43032@roundup.psfhosted.org>
In-reply-to
Content
Hi all.

Is it an issue or on purpose that enabling and disabling the frame in plt.pie() results in different sized pie charts? In my opinion the code below should provide identical sized charts. If it is on purpose, can you give me a reference? I am using the conda version of pyhton but colleagues experience the same behavior.

import matplotlib.pyplot as plt
f = plt.figure(figsize=(10,5),dpi=300)
ax1 = f.add_axes([0,0,0.5,1])
ax2 = f.add_axes([0.5,0,0.5,1])
ax1.pie([180,180],center=(0.5,0.5),radius=0.5,frame=False)
ax2.pie([180,180],center=(0.5,0.5),radius=0.5,frame=True)
plt.show()
History
Date User Action Args
2021-01-26 13:46:44twisteriorsetrecipients: + twisterior
2021-01-26 13:46:44twisteriorsetmessageid: <1611668804.53.0.845816677703.issue43032@roundup.psfhosted.org>
2021-01-26 13:46:44twisteriorlinkissue43032 messages
2021-01-26 13:46:43twisteriorcreate