Skip to content

Commit cb9c94b

Browse files
committed
fix call to Axes.hist with matplotlib 3.10
1 parent 073a335 commit cb9c94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stagpy/plates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def cmd(conf: Config) -> None:
438438
limits.sort()
439439
plate_sizes = np.diff(limits, append=2 * np.pi + limits[0])
440440
fig, axis = plt.subplots()
441-
axis.hist(plate_sizes, 10, (0, np.pi))
441+
axis.hist(plate_sizes, bins=10, range=(0, np.pi))
442442
axis.set_ylabel("Number of plates")
443443
axis.set_xlabel(r"$\phi$-span")
444444
saveplot(conf, fig, "plates_size_distribution", step.isnap)

0 commit comments

Comments
 (0)