Skip to content

Commit

Permalink
TYP: Fix typing after contourpy upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Dec 15, 2023
1 parent 326012c commit e9df391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotnine/stats/stat_density_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def contour_lines(X, Y, Z, levels):
level_values = []
start_pid = 1
for level in levels:
vertices, _ = cgen.create_contour(level)
vertices, *_ = cgen.create_contour(level)
for pid, piece in enumerate(vertices, start=start_pid):
n = len(piece) # pyright: ignore
segments.append(piece)
Expand Down

0 comments on commit e9df391

Please sign in to comment.