Skip to content

Commit 6a5409e

Browse files
committed
fix: issue#915 rename var bin_args
1 parent e689665 commit 6a5409e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pandas_profiling/model/summary_algorithms.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def histogram_compute(
4141

4242
max_bins = config.plot.histogram.max_bins
4343
if bins_arg == "auto" and len(stats[name][1]) > max_bins:
44-
bins_arg = np.histogram_bin_edges(finite_values, bins=max_bins)
45-
stats[name] = np.histogram(finite_values, bins=bins_arg, weights=None)
44+
bins = np.histogram_bin_edges(finite_values, bins=max_bins)
45+
stats[name] = np.histogram(finite_values, bins=bins, weights=None)
4646

4747
return stats
4848

0 commit comments

Comments
 (0)