Skip to content

Commit 22f93ff

Browse files
committed
"none" -> "None"
1 parent 7e41931 commit 22f93ff

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

causalpy/pymc_experiments.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def print_coefficients(self, round_to=None) -> None:
6464
Prints the model coefficients
6565
6666
:param round_to:
67-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
67+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
6868
6969
Example
7070
--------
@@ -234,7 +234,7 @@ def plot(self, counterfactual_label="Counterfactual", round_to=None, **kwargs):
234234
Plot the results
235235
236236
:param round_to:
237-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
237+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
238238
"""
239239
fig, ax = plt.subplots(3, 1, sharex=True, figsize=(7, 8))
240240

@@ -339,7 +339,7 @@ def summary(self, round_to=None) -> None:
339339
Print text output summarising the results
340340
341341
:param round_to:
342-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
342+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
343343
"""
344344

345345
print(f"{self.expt_type:=^80}")
@@ -426,7 +426,7 @@ def plot(self, plot_predictors=False, **kwargs):
426426
"""Plot the results
427427
428428
:param round_to:
429-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
429+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
430430
"""
431431
fig, ax = super().plot(counterfactual_label="Synthetic control", **kwargs)
432432
if plot_predictors:
@@ -595,7 +595,7 @@ def plot(self, round_to=None):
595595
"""Plot the results.
596596
597597
:param round_to:
598-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
598+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
599599
"""
600600
fig, ax = plt.subplots()
601601

@@ -739,7 +739,7 @@ def summary(self, round_to=None) -> None:
739739
Print text output summarising the results.
740740
741741
:param round_to:
742-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
742+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
743743
"""
744744

745745
print(f"{self.expt_type:=^80}")
@@ -902,7 +902,7 @@ def plot(self, round_to=None):
902902
Plot the results
903903
904904
:param round_to:
905-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
905+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
906906
"""
907907
fig, ax = plt.subplots()
908908
# Plot raw data
@@ -956,7 +956,7 @@ def summary(self, round_to: None) -> None:
956956
Print text output summarising the results
957957
958958
:param round_to:
959-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
959+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
960960
"""
961961

962962
print(f"{self.expt_type:=^80}")
@@ -1122,7 +1122,7 @@ def plot(self, round_to=None):
11221122
Plot the results
11231123
11241124
:param round_to:
1125-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
1125+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
11261126
"""
11271127
fig, ax = plt.subplots()
11281128
# Plot raw data
@@ -1176,7 +1176,7 @@ def summary(self, round_to=None) -> None:
11761176
Print text output summarising the results
11771177
11781178
:param round_to:
1179-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
1179+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
11801180
"""
11811181

11821182
print(
@@ -1318,7 +1318,7 @@ def plot(self, round_to=None):
13181318
"""Plot the results
13191319
13201320
:param round_to:
1321-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
1321+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
13221322
"""
13231323
fig, ax = plt.subplots(
13241324
2, 1, figsize=(7, 9), gridspec_kw={"height_ratios": [3, 1]}
@@ -1384,7 +1384,7 @@ def summary(self, round_to=None) -> None:
13841384
Print text output summarising the results
13851385
13861386
:param round_to:
1387-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
1387+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
13881388
"""
13891389

13901390
print(f"{self.expt_type:=^80}")

causalpy/skl_experiments.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def plot(self, counterfactual_label="Counterfactual", round_to=None, **kwargs):
119119
"""Plot experiment results
120120
121121
:param round_to:
122-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
122+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
123123
"""
124124
fig, ax = plt.subplots(3, 1, sharex=True, figsize=(7, 8))
125125

@@ -270,7 +270,7 @@ def plot(self, plot_predictors=False, round_to=None, **kwargs):
270270
"""Plot the results
271271
272272
:param round_to:
273-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
273+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
274274
"""
275275
fig, ax = super().plot(
276276
counterfactual_label="Synthetic control", round_to=round_to, **kwargs
@@ -415,7 +415,7 @@ def plot(self, round_to=None):
415415
"""Plot results
416416
417417
:param round_to:
418-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
418+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
419419
"""
420420
fig, ax = plt.subplots()
421421

@@ -629,7 +629,7 @@ def plot(self, round_to=None):
629629
"""Plot results
630630
631631
:param round_to:
632-
Number of decimals used to round results. Defaults to 2. Use "none" to return raw numbers.
632+
Number of decimals used to round results. Defaults to 2. Use "None" to return raw numbers.
633633
"""
634634
fig, ax = plt.subplots()
635635
# Plot raw data

0 commit comments

Comments
 (0)