params["binwidth"] is None and
not values_are_ints):
params["binwidth"] = np.ptp(rangee) / 30
gg_warn(_MSG_BINWIDTH)
if params["method"] == "histodot":
params["range"] = rangee
params["weight"] = weight
After Change
if (params["breaks"] is None and
params["binwidth"] is None and
not values_are_ints):
params["binwidth"] = np.ptp(rangee) / params["bins"]
if params["method"] == "histodot":
params["range"] = rangee
params["weight"] = weight