Skip to content

Commit

Permalink
Fix PhasePlane for matplotlib 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
liadomide committed Feb 15, 2025
1 parent 683d9c2 commit 508f5bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ def nullcline(x, y, z):
import matplotlib.pyplot as plt
import matplotlib
matplotlib.use('agg')
# new matplotlib, version 3.8.3
# new matplotlib, version > 3.8.3

def nullcline(x, y, z):
c = plt.contour(x, y, z, levels=[0.0])
segments = c.collections[0].get_paths()
segments = c.get_paths()
return segments

# how much courser is the grid used to show the vectors
Expand Down

0 comments on commit 508f5bb

Please sign in to comment.