Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

matplotlib eventplot not shows all the binary data for big number of events #20243

Open
Labels
Difficulty: Hardhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!backend: agg
@lorenzgutierrez

Description

@lorenzgutierrez

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

imagen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Hardhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!backend: agg

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp