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
Description
Bug report
Bug summary
Because Spine is mostly written for rectilinear axes, calling some seemingly harmless methods on polar spines can completely mess up their positioning.
Code for reproduction
frompylabimport*polar()print(gca().spines["polar"].get_position())show()
or
frompylabimport*;polar();print(gca().spines["polar"].get_spine_transform())
Actual outcome
Expected outcome
The spine stays correct, or at least the get_foo getter raises an exception.
Matplotlib version
- Operating system: linux
- Matplotlib version: head
- Matplotlib backend (
print(matplotlib.get_backend())
): qt5agg - Python version: 38
- Jupyter version (if applicable):
- Other libraries: