From 5abfebd604b808f02b19a140689e576d5c85b472 Mon Sep 17 00:00:00 2001 From: Drew Levitt Date: Fri, 16 Jul 2021 13:55:35 -0700 Subject: [PATCH 1/2] Correct singular "die"/plural "dice" "Dice" is traditionally plural (one die, two dice). Nowadays it can also be singular, but "die" is clearer. "Dices" is simply not a thing. --- pandas/plotting/_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 990ccbc2a015b..46974537914eb 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -1306,8 +1306,8 @@ def hist(self, by=None, bins=10, **kwargs): Examples -------- - When we draw a dice 6000 times, we expect to get each value around 1000 - times. But when we draw two dices and sum the result, the distribution + When we draw a die 6000 times, we expect to get each value around 1000 + times. But when we draw two dice and sum the result, the distribution is going to be quite different. A histogram illustrates those distributions. From c8f3857f1b8ee06866ad958e045a861ba610ab4f Mon Sep 17 00:00:00 2001 From: Drew Levitt Date: Tue, 20 Jul 2021 15:46:26 -0400 Subject: [PATCH 2/2] DOC: Update pandas/plotting/_core.py change "draw a die" to "roll a die" Co-authored-by: attack68 <24256554+attack68@users.noreply.github.com> --- pandas/plotting/_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 46974537914eb..8b2ac31532344 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -1306,8 +1306,8 @@ def hist(self, by=None, bins=10, **kwargs): Examples -------- - When we draw a die 6000 times, we expect to get each value around 1000 - times. But when we draw two dice and sum the result, the distribution + When we roll a die 6000 times, we expect to get each value around 1000 + times. But when we roll two dice and sum the result, the distribution is going to be quite different. A histogram illustrates those distributions.