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
I noticed that when using eventplot to plot a big number of events, the plot doesn't shows all the binary data available, and is needed to increase thelinelenghts
parameter to increase the number of lines in the plot.
Code for reproduction
importmatplotlib.pyplotaspltimportnumpyasnp#simulate some raster (is needed for the number of events to be high#I noticed missing lines for n_events > 200)data= [np.random.random(np.random.randint(10))foriinrange(500)]fig,axes=plt.subplots(2)axes[0].eventplot(data,linelength=1)axes[1].eventplot(data,linelength=2)
Actual outcome
Expected outcome
I would expect to have all the binary data plotted in the figure
Matplotlib version
- Operating system: Arch Linux
- Matplotlib version (
import matplotlib; print(matplotlib.__version__)
): 3.3.2 - Matplotlib backend (
print(matplotlib.get_backend())
):module://ipykernel.pylab.backend_inline - Python version: 3.8.5