Skip to content
Snippets Groups Projects

Fix bug caused by matplotlib API change

Merged Kien Le requested to merge deprecation-matplotlib_line2d_api into develop

Closes #283 (closed)

Matplotlib 3.9.0 changes the API of Line2D such that it does not accept non-sequence data anymore. This breaks the code for setting the zoom marker and time marker in the TPS plot.

Reference: https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.9.0.html#line2d (technically, the broken code uses Line2D.set_data(), but that method itself uses Line2D.set_xdata(), whose API was changed)

Edited by Kien Le

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading