newsworthycharts 1.54.3__tar.gz → 1.54.4__tar.gz
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.
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/PKG-INFO +8 -2
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/README.rst +6 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/__init__.py +1 -1
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/chart.py +0 -1
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/formatter.py +4 -4
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/PKG-INFO +8 -2
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/requires.txt +5 -5
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/requirements.txt +5 -5
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/setup.py +5 -5
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/.flake8 +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/.github/workflows/lint.yml +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/.pre-commit-config.yaml +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/.pylintrc +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/LICENSE.txt +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/MANIFEST.in +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/bubblemap.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/categoricalchart.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/choroplethmap.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/custom/__init__.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/custom/climate_cars.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/datawrapper.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/__init__.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/color_fn.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/colors.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/datalist.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/geography.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/locator.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/mimetypes.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/lib/utils.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/map.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/maps/se-4.gpkg +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/maps/se-7.gpkg +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/rangeplot.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/rc/newsworthy +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/scatterplot.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/seasonalchart.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/serialchart.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/storage.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/stripechart.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/translations/datawrapper_regions.csv +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/translations/regions.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/translations/se_municipalities.csv +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/SOURCES.txt +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/dependency_links.txt +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/not-zip-safe +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/top_level.txt +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/setup.cfg +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/__init__.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/data/__init__.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/data/elpriser.json +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/data/range_plot_with_long_labels.json +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/data/scatterplot.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/data/test-so2.csv +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/images/logo.png +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_categorical_chart.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_choropleth_maps.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_custom_climate_cars.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_data_list.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_datawrapper.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_main.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_rangeplot.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_scatterplot.py +0 -0
- {newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/test_serial_chart.py +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: newsworthycharts
|
3
|
-
Version: 1.54.
|
3
|
+
Version: 1.54.4
|
4
4
|
Summary: Matplotlib wrapper to create charts and publish them on Amazon S3
|
5
5
|
Home-page: https://github.com/jplusplus/newsworthycharts
|
6
|
-
Download-URL: https://github.com/jplusplus/newsworthycharts/archive/1.54.
|
6
|
+
Download-URL: https://github.com/jplusplus/newsworthycharts/archive/1.54.4.tar.gz
|
7
7
|
Author: Jens Finnäs and Leo Wallentin, J++ Stockholm
|
8
8
|
Author-email: stockholm@jplusplus.org
|
9
9
|
License: MIT
|
@@ -168,6 +168,12 @@ Roadmap
|
|
168
168
|
Changelog
|
169
169
|
---------
|
170
170
|
|
171
|
+
- 1.54.4
|
172
|
+
|
173
|
+
- Use Babel 2.14, and pin version
|
174
|
+
- Require numpy>=1.21.0 (now required by Matplotlib)
|
175
|
+
- Patch upgrades: matplotlib==3.8.2; geopandas==0.14.1
|
176
|
+
|
171
177
|
- 1.54.3
|
172
178
|
|
173
179
|
- Fix duplicated integer values in y axis
|
@@ -155,6 +155,12 @@ Roadmap
|
|
155
155
|
Changelog
|
156
156
|
---------
|
157
157
|
|
158
|
+
- 1.54.4
|
159
|
+
|
160
|
+
- Use Babel 2.14, and pin version
|
161
|
+
- Require numpy>=1.21.0 (now required by Matplotlib)
|
162
|
+
- Patch upgrades: matplotlib==3.8.2; geopandas==0.14.1
|
163
|
+
|
158
164
|
- 1.54.3
|
159
165
|
|
160
166
|
- Fix duplicated integer values in y axis
|
@@ -376,7 +376,6 @@ class Chart(object):
|
|
376
376
|
loc = get_best_locator(delta, len(dates), self.interval)
|
377
377
|
self.ax.xaxis.set_major_locator(loc)
|
378
378
|
formatter = Formatter(self._language)
|
379
|
-
print(self._language)
|
380
379
|
|
381
380
|
# if isinstance(loc, WeekdayLocator):
|
382
381
|
if self.interval == "weekly":
|
@@ -67,7 +67,7 @@ class Formatter(object):
|
|
67
67
|
pattern[1] = ".#" + pattern[1]
|
68
68
|
pattern = "0".join(pattern)
|
69
69
|
string = format_decimal(x, locale=self.l, format=pattern)
|
70
|
-
minus = self.l.number_symbols["minusSign"]
|
70
|
+
minus = self.l.number_symbols["latn"]["minusSign"]
|
71
71
|
string = string.replace("-", minus)
|
72
72
|
return string
|
73
73
|
|
@@ -79,7 +79,7 @@ class Formatter(object):
|
|
79
79
|
|
80
80
|
x = round(Decimal(x), decimals)
|
81
81
|
string = format_unit(x, 'temperature-generic', "short", locale=self.l)
|
82
|
-
minus = self.l.number_symbols["minusSign"]
|
82
|
+
minus = self.l.number_symbols["latn"]["minusSign"]
|
83
83
|
string = string.replace("-", minus)
|
84
84
|
# if x > 0:
|
85
85
|
# string = "+" + string
|
@@ -94,7 +94,7 @@ class Formatter(object):
|
|
94
94
|
scale = "temperature-{}".format(self.scale)
|
95
95
|
x = round(Decimal(x), decimals)
|
96
96
|
string = format_unit(x, scale, "short", locale=self.l)
|
97
|
-
minus = self.l.number_symbols["minusSign"]
|
97
|
+
minus = self.l.number_symbols["latn"]["minusSign"]
|
98
98
|
string = string.replace("-", minus)
|
99
99
|
return string
|
100
100
|
|
@@ -117,7 +117,7 @@ class Formatter(object):
|
|
117
117
|
pattern[1] = "0" * decimals + pattern[1]
|
118
118
|
pattern = ".".join(pattern)
|
119
119
|
string = format_decimal(x, locale=self.l, format=pattern)
|
120
|
-
minus = self.l.number_symbols["minusSign"]
|
120
|
+
minus = self.l.number_symbols["latn"]["minusSign"]
|
121
121
|
string = string.replace("-", minus)
|
122
122
|
return string
|
123
123
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: newsworthycharts
|
3
|
-
Version: 1.54.
|
3
|
+
Version: 1.54.4
|
4
4
|
Summary: Matplotlib wrapper to create charts and publish them on Amazon S3
|
5
5
|
Home-page: https://github.com/jplusplus/newsworthycharts
|
6
|
-
Download-URL: https://github.com/jplusplus/newsworthycharts/archive/1.54.
|
6
|
+
Download-URL: https://github.com/jplusplus/newsworthycharts/archive/1.54.4.tar.gz
|
7
7
|
Author: Jens Finnäs and Leo Wallentin, J++ Stockholm
|
8
8
|
Author-email: stockholm@jplusplus.org
|
9
9
|
License: MIT
|
@@ -168,6 +168,12 @@ Roadmap
|
|
168
168
|
Changelog
|
169
169
|
---------
|
170
170
|
|
171
|
+
- 1.54.4
|
172
|
+
|
173
|
+
- Use Babel 2.14, and pin version
|
174
|
+
- Require numpy>=1.21.0 (now required by Matplotlib)
|
175
|
+
- Patch upgrades: matplotlib==3.8.2; geopandas==0.14.1
|
176
|
+
|
171
177
|
- 1.54.3
|
172
178
|
|
173
179
|
- Fix duplicated integer values in y axis
|
@@ -1,13 +1,13 @@
|
|
1
|
-
Babel
|
1
|
+
Babel<3,>=2.14.0
|
2
2
|
Pillow==10.1.0
|
3
3
|
PyYAML>=3
|
4
4
|
adjustText==0.7.3
|
5
5
|
boto3>=1.26
|
6
|
-
geopandas==0.14.
|
6
|
+
geopandas==0.14.1
|
7
7
|
langcodes>=3.3
|
8
8
|
mapclassify==2.6.1
|
9
9
|
matplotlib-label-lines==0.5.1
|
10
|
-
matplotlib==3.8.
|
11
|
-
numpy<2,>=1.
|
12
|
-
python-dateutil
|
10
|
+
matplotlib==3.8.2
|
11
|
+
numpy<2,>=1.21.0
|
12
|
+
python-dateutil<3,>=2
|
13
13
|
requests>=2.22
|
@@ -1,10 +1,10 @@
|
|
1
|
-
boto3==1.
|
2
|
-
matplotlib==3.8.
|
1
|
+
boto3==1.34.2
|
2
|
+
matplotlib==3.8.2
|
3
3
|
langcodes==3.3.0
|
4
|
-
Babel==2.
|
4
|
+
Babel==2.14.0
|
5
5
|
PyYAML==6.0.1
|
6
6
|
adjustText==0.7.3
|
7
|
-
numpy==1.26.
|
7
|
+
numpy==1.26.2
|
8
8
|
python-dateutil==2.8.2
|
9
9
|
pytest==7.4.3
|
10
10
|
flake8==6.1.0
|
@@ -12,5 +12,5 @@ requests==2.31.0
|
|
12
12
|
python-dotenv==1.0.0
|
13
13
|
matplotlib-label-lines==0.5.1
|
14
14
|
Pillow==10.1.0
|
15
|
-
geopandas==0.14.
|
15
|
+
geopandas==0.14.1
|
16
16
|
mapclassify==2.6.1
|
@@ -25,17 +25,17 @@ setup(
|
|
25
25
|
python_requires='>=3.9',
|
26
26
|
install_requires=[
|
27
27
|
"boto3>=1.26",
|
28
|
-
"matplotlib==3.8.
|
28
|
+
"matplotlib==3.8.2",
|
29
29
|
"langcodes>=3.3",
|
30
|
-
"Babel>=2.
|
30
|
+
"Babel>=2.14.0,<3",
|
31
31
|
"PyYAML>=3",
|
32
32
|
"adjustText==0.7.3",
|
33
|
-
"numpy>=1.
|
34
|
-
"python-dateutil>=2",
|
33
|
+
"numpy>=1.21.0,<2",
|
34
|
+
"python-dateutil>=2,<3",
|
35
35
|
"Pillow==10.1.0",
|
36
36
|
"requests>=2.22",
|
37
37
|
"matplotlib-label-lines==0.5.1",
|
38
|
-
"geopandas==0.14.
|
38
|
+
"geopandas==0.14.1",
|
39
39
|
"mapclassify==2.6.1",
|
40
40
|
],
|
41
41
|
setup_requires=["flake8"],
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts/translations/regions.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/newsworthycharts.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{newsworthycharts-1.54.3 → newsworthycharts-1.54.4}/test/data/range_plot_with_long_labels.json
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|