Closed
Description
Bug report
Bug summary
Doing set_thetalim(0, >2pi)
on a polar plot produces an odd result; see below. There are 400 and 500 degree ticks that probably shouldn't be there, and a floating 200 degree tick (but no 300 degree tick...).
I would be pro erroring out if someone tries to set a limit that's not in the range [0, 2pi]
- any thoughts?
Code for reproduction
import numpy as np
import matplotlib.pyplot as plt
ax = plt.subplot(111, projection='polar')
ax.set_thetalim(0, 3 * np.pi)
plt.show()
Actual outcome
Expected outcome
Matplotlib version
- Operating system:
- Matplotlib version:
- Matplotlib backend (
print(matplotlib.get_backend())
): - Python version:
- Jupyter version (if applicable):
- Other libraries: