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
When updating vertices of polygon produced with axvspan on polar axes, the resultant polygon does not seem to follow the polar projection.
Code for reproduction
importmatplotlib.pyplotaspltfig, axs=plt.subplots(1, 2, subplot_kw={'projection': 'polar'})
# What I expectpolygon1=axs[0].axvspan(0,np.pi/2)
axs[0].set_title("What I expect")
# What I getpolygon2=axs[1].axvspan(0,np.pi/2)
polygon2.set_xy(polygon2.get_xy()) #this should not change the polygon dataaxs[1].set_title("What I get")
plt.show()
Actual outcome
Expected outcome
I expect that polygon2.set_xy(polygon2.get_xy()) should not change the polygon.
Additional information
No response
Operating system
OS X
Matplotlib Version
3.8.0
Matplotlib Backend
module://ipympl.backend_nbagg
Python version
Python 3.11.5
Jupyter version
7.0.6
Installation
conda
The text was updated successfully, but these errors were encountered:
Bug summary
When updating vertices of polygon produced with axvspan on polar axes, the resultant polygon does not seem to follow the polar projection.
Code for reproduction
Actual outcome
Expected outcome
I expect that
polygon2.set_xy(polygon2.get_xy())
should not change the polygon.Additional information
No response
Operating system
OS X
Matplotlib Version
3.8.0
Matplotlib Backend
module://ipympl.backend_nbagg
Python version
Python 3.11.5
Jupyter version
7.0.6
Installation
conda
The text was updated successfully, but these errors were encountered: