Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Bug summary
pyplot.quiverkey
does not work correctly in polar plots.
Code for reproduction
importnumpyasnpfrommatplotlibimportpyplotaspltfig,ax=plt.subplots(subplot_kw={"polar":True})longitude=np.arange(0,360,10)colatitude=90-np.ones_like(longitude)*60sample_x=np.ones_like(longitude)# Northwardsample_y=np.zeros_like(longitude)# Eastwardq=ax.quiver(np.radians(longitude),colatitude,sample_y,-sample_x,angles="xy")ax.quiverkey(q,X=0,Y=0,U=5,label='5 units')
Actual outcome
Expected outcome
The quiverkey should be a single line rather than a cartwheel.
Additional information
No response
Operating system
macOS Ventura 13.5
Matplotlib Version
3.7.1
Matplotlib Backend
Installed osx event loop hook. MacOSX
Python version
3.10.11
Jupyter version
4.0.1
Installation
conda