Message385713
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() |
|
Date |
User |
Action |
Args |
2021-01-26 13:46:44 | twisterior | set | recipients:
+ twisterior |
2021-01-26 13:46:44 | twisterior | set | messageid: <1611668804.53.0.845816677703.issue43032@roundup.psfhosted.org> |
2021-01-26 13:46:44 | twisterior | link | issue43032 messages |
2021-01-26 13:46:43 | twisterior | create | |
|