Skip to content

Commit cf5f528

Browse files
authored
Merge pull request #272 from SchmJo/fix_numpy2
fix for incompatibility with numpy 2
2 parents 9507d62 + 3fb8948 commit cf5f528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windrose/windrose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import matplotlib.pyplot as plt
88
import numpy as np
99
from matplotlib.projections.polar import PolarAxes
10-
from numpy.lib.twodim_base import histogram2d
10+
from numpy import histogram2d
1111

1212
ZBASE = -1000 # The starting zorder for all drawing, negative to have the grid on
1313
VAR_DEFAULT = "speed"

0 commit comments

Comments
 (0)