Skip to content

Commit

Permalink
fix: issue#915 rename var bin_args
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohaib90 committed Jan 24, 2023
1 parent e689665 commit 6a5409e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pandas_profiling/model/summary_algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def histogram_compute(

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

return stats

Expand Down

0 comments on commit 6a5409e

Please sign in to comment.