mgplot 0.2.34__py3-none-any.whl → 0.2.35__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mgplot/line_plot.py
CHANGED
|
@@ -90,7 +90,7 @@ def annotate_series(
|
|
|
90
90
|
latest: Series = series.dropna()
|
|
91
91
|
if latest.empty or not is_numeric_dtype(latest):
|
|
92
92
|
return None
|
|
93
|
-
x: int | float = latest.index[-1]
|
|
93
|
+
x: int | float = latest.index[-1]
|
|
94
94
|
y: int | float = latest.iloc[-1]
|
|
95
95
|
if y is None or math.isnan(y):
|
|
96
96
|
return None
|
|
@@ -111,7 +111,7 @@ def annotate_series(
|
|
|
111
111
|
r_string = f" {text}"
|
|
112
112
|
else:
|
|
113
113
|
rounding = default_rounding(value=y, provided=kwargs.get("rounding"))
|
|
114
|
-
r_string = f" {y:.{rounding}f}"
|
|
114
|
+
r_string = f" {y:.{rounding}f}"
|
|
115
115
|
return axes.text(
|
|
116
116
|
x=x,
|
|
117
117
|
y=y,
|
|
@@ -8,7 +8,7 @@ mgplot/finalise_plot.py,sha256=8NGi2SFAABrP1vjKpHcug8OS6jWWpHErwq1mif6qCCg,24456
|
|
|
8
8
|
mgplot/finalisers.py,sha256=Wozq4XOmnMdhEB9LJqHao9TrleOfhNV54kRa_bgN-e8,10547
|
|
9
9
|
mgplot/growth_plot.py,sha256=QALNYyINd_u7BL3q-My16eRuhq0LzGfawu-_MsVOXl0,8708
|
|
10
10
|
mgplot/keyword_checking.py,sha256=8CFexwEK_Uyv3_8hAnJ2ewk0tEjNjkwzKfX2uFw2UpM,11446
|
|
11
|
-
mgplot/line_plot.py,sha256=
|
|
11
|
+
mgplot/line_plot.py,sha256=dZC66k-HSbAXIiRJtvcwyJAc_P1084sLPROOFDJ7ew0,10161
|
|
12
12
|
mgplot/lint-all.sh,sha256=O7ns09v0cQNQ6POWtXtYn6VdtYURHTjy06vntR8tr_U,465
|
|
13
13
|
mgplot/multi_plot.py,sha256=WCTefA15L4FLZJj3Tq-4mQc4JaraBEoRYSV0gTZ81eQ,10699
|
|
14
14
|
mgplot/postcovid_plot.py,sha256=TR3BY_1CbIR2IRvlqqbqhhacEyUMDZIEL-mcLs9FV3U,8716
|
|
@@ -19,7 +19,7 @@ mgplot/seastrend_plot.py,sha256=hi9t0cY0bHdIOU5abLMX7qvAp_hlVLlJFyEKNBzg6Ts,2000
|
|
|
19
19
|
mgplot/settings.py,sha256=RhxgX4d-CgRpvs-ALG_j8tg3wwHSyfvFNdL0aMjofA0,5584
|
|
20
20
|
mgplot/summary_plot.py,sha256=Kg7VD8KFIls4KlD4jeaaXnDw51BZ3p_wMAUpjG49zGQ,11102
|
|
21
21
|
mgplot/utilities.py,sha256=PfzThb_nXYIMhnprQzNcaBqUZV8ysHJte0TU7TIis00,8450
|
|
22
|
-
mgplot-0.2.
|
|
23
|
-
mgplot-0.2.
|
|
24
|
-
mgplot-0.2.
|
|
25
|
-
mgplot-0.2.
|
|
22
|
+
mgplot-0.2.35.dist-info/METADATA,sha256=een7L9alztZExfay8jM_JnkXitVuKnMEegTCu5JDSfk,7923
|
|
23
|
+
mgplot-0.2.35.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
24
|
+
mgplot-0.2.35.dist-info/licenses/LICENSE,sha256=6ZyruOwF8J7mY25-vZHdOibtY8cSNLz0vWeH59TLhtw,1082
|
|
25
|
+
mgplot-0.2.35.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|