Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed as not planned
Description
From#12300, something funny happens if you flip the radial limits after a draw.@jklymak noted that this is also a problem on currentmaster
if you just change the limits (but no flipping.)
#!/usr/bin/env pythonimportnumpyasnpimportmatplotlib.pyplotaspltfig, (ax0,ax1,ax2)=plt.subplots(1,3,subplot_kw=dict(polar=True))ax0.plot([0,1], [-1,1])ax0.scatter([0,1], [-1,1])ax0.set_rmin(-1.5)ax0.set_rmax(1.5)ax0.set_title('Forward')ax1.plot([0,1], [-1,1])ax1.scatter([0,1], [-1,1])ax1.set_rmin(1.5)ax1.set_rmax(-1.5)ax1.set_title('Backward')ax2.plot([0,1], [-1,1])ax2.scatter([0,1], [-1,1])ax2.set_rmin(-1.5)ax2.set_rmax(1.5)ax2.set_title('Backward with draw')fig.canvas.draw()ax2.set_rmin(1.5)ax2.set_rmax(-1.5)plt.show()
Originally posted by@QuLogic in#12300 (comment)