Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- # Create figure and axis
- fig, ax = plt.subplots()
- # Draw the big circle
- big_circle = plt.Circle((0.5, 0.5), 0.4, color='white', edgecolor='black', linewidth=2)
- ax.add_artist(big_circle)
- # Set aspect ratio to be equal
- ax.set_aspect('equal')
- # Set axis limits
- ax.set_xlim(0, 1)
- ax.set_ylim(0, 1)
- # Remove axes
- ax.axis('off')
- # Show the plot
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment