Skip to content

Commit

Permalink
Merge pull request #282 from DHI/update_bins_default_scatter
Browse files Browse the repository at this point in the history
Update_bins
  • Loading branch information
jsmariegaard authored Nov 22, 2023
2 parents d0cb55e + 0054aaf commit c4f0564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modelskill/plotting/_scatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def scatter(
x: np.ndarray,
y: np.ndarray,
*,
bins: int | float = 20,
bins: int | float = 120,
quantiles: int | Sequence[float] | None = None,
fit_to_quantiles: bool = False,
show_points: bool | int | float | None = None,
Expand Down Expand Up @@ -55,7 +55,7 @@ def scatter(
y: np.array
Y values e.g observation values, must be same length as x
bins: (int, float, sequence), optional
bins for the 2D histogram on the background. By default 20 bins.
bins for the 2D histogram on the background. By default 120 bins.
if int, represents the number of bins of 2D
if float, represents the bin size
if sequence (list of int or float), represents the bin edges
Expand Down

0 comments on commit c4f0564

Please sign in to comment.