Closed
Description
Bug summary
I'm tring to make stem plots on polar axis. When I set the stem bottom to non-zero values, I noticed an abnormal red line that connects the bottom of first and last stem. I don't think this is an expected behaviour.
Code for reproduction
import matplotlib.pyplot as plt
import numpy as np
# Fixing random state for reproducibility
np.random.seed(19680801)
# Compute areas and colors
N = 50
r = 2 * np.random.rand(N)
theta = 2 * np.pi * np.random.rand(N)
fig = plt.figure()
ax = fig.add_subplot(projection='polar')
c1 = ax.stem(
theta,
r+4,
bottom=4,
)
Actual outcome
Expected outcome
A plot without the red line connectting the bottom of first and last stem.
Additional information
No response
Operating system
No response
Matplotlib Version
3.10.0
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
Metadata
Metadata
Assignees
Labels
No labels