newsworthycharts 1.54.4__tar.gz → 1.54.5__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.4 → newsworthycharts-1.54.5}/PKG-INFO +8 -3
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/README.rst +6 -1
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/__init__.py +1 -1
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/locator.py +4 -1
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts.egg-info/PKG-INFO +8 -3
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts.egg-info/SOURCES.txt +1 -13
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts.egg-info/requires.txt +3 -3
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/setup.cfg +1 -1
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/setup.py +3 -3
- newsworthycharts-1.54.4/.flake8 +0 -7
- newsworthycharts-1.54.4/.github/workflows/lint.yml +0 -17
- newsworthycharts-1.54.4/.pre-commit-config.yaml +0 -5
- newsworthycharts-1.54.4/.pylintrc +0 -3
- newsworthycharts-1.54.4/requirements.txt +0 -16
- newsworthycharts-1.54.4/test/__init__.py +0 -0
- newsworthycharts-1.54.4/test/data/__init__.py +0 -0
- newsworthycharts-1.54.4/test/data/elpriser.json +0 -1604
- newsworthycharts-1.54.4/test/data/range_plot_with_long_labels.json +0 -227
- newsworthycharts-1.54.4/test/data/scatterplot.py +0 -292
- newsworthycharts-1.54.4/test/data/test-so2.csv +0 -291
- newsworthycharts-1.54.4/test/images/logo.png +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/LICENSE.txt +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/MANIFEST.in +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/bubblemap.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/categoricalchart.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/chart.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/choroplethmap.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/custom/__init__.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/custom/climate_cars.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/datawrapper.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/__init__.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/color_fn.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/colors.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/datalist.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/formatter.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/geography.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/mimetypes.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/lib/utils.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/map.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/maps/se-4.gpkg +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/maps/se-7.gpkg +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/rangeplot.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/rc/newsworthy +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/scatterplot.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/seasonalchart.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/serialchart.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/storage.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/stripechart.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/translations/datawrapper_regions.csv +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/translations/regions.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts/translations/se_municipalities.csv +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts.egg-info/dependency_links.txt +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts.egg-info/not-zip-safe +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/newsworthycharts.egg-info/top_level.txt +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_categorical_chart.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_choropleth_maps.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_custom_climate_cars.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_data_list.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_datawrapper.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_main.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_rangeplot.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/test/test_scatterplot.py +0 -0
- {newsworthycharts-1.54.4 → newsworthycharts-1.54.5}/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.5
|
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.5.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,11 @@ Roadmap
|
|
168
168
|
Changelog
|
169
169
|
---------
|
170
170
|
|
171
|
+
- 1.54.5
|
172
|
+
|
173
|
+
- Improved tick placement in daily charts
|
174
|
+
- Minor upgrades: matplotlib==3.8.3; Pillow==10.2.0; geopandas==0.14.3
|
175
|
+
|
171
176
|
- 1.54.4
|
172
177
|
|
173
178
|
- Use Babel 2.14, and pin version
|
@@ -200,7 +205,7 @@ Changelog
|
|
200
205
|
- 1.53.0
|
201
206
|
|
202
207
|
- Fixed bug in value_labels, trying to access a color value that didn't exist
|
203
|
-
- Dropped Python 3.
|
208
|
+
- Dropped Python 3.8 support (upstream)
|
204
209
|
- Uses Matplotlib 3.8
|
205
210
|
- Uses Pillow 10
|
206
211
|
|
@@ -155,6 +155,11 @@ Roadmap
|
|
155
155
|
Changelog
|
156
156
|
---------
|
157
157
|
|
158
|
+
- 1.54.5
|
159
|
+
|
160
|
+
- Improved tick placement in daily charts
|
161
|
+
- Minor upgrades: matplotlib==3.8.3; Pillow==10.2.0; geopandas==0.14.3
|
162
|
+
|
158
163
|
- 1.54.4
|
159
164
|
|
160
165
|
- Use Babel 2.14, and pin version
|
@@ -187,7 +192,7 @@ Changelog
|
|
187
192
|
- 1.53.0
|
188
193
|
|
189
194
|
- Fixed bug in value_labels, trying to access a color value that didn't exist
|
190
|
-
- Dropped Python 3.
|
195
|
+
- Dropped Python 3.8 support (upstream)
|
191
196
|
- Uses Matplotlib 3.8
|
192
197
|
- Uses Pillow 10
|
193
198
|
|
@@ -79,7 +79,10 @@ def get_best_locator(delta, points, interval=None):
|
|
79
79
|
|
80
80
|
elif interval == "daily" or interval is None:
|
81
81
|
if delta.days > 30:
|
82
|
-
# FIXME dont print every month
|
83
82
|
return MonthLocator()
|
83
|
+
elif delta.days > 21:
|
84
|
+
return DayLocator(interval=10)
|
85
|
+
elif delta.days > 7:
|
86
|
+
return DayLocator(interval=5)
|
84
87
|
else:
|
85
88
|
return DayLocator()
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: newsworthycharts
|
3
|
-
Version: 1.54.
|
3
|
+
Version: 1.54.5
|
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.5.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,11 @@ Roadmap
|
|
168
168
|
Changelog
|
169
169
|
---------
|
170
170
|
|
171
|
+
- 1.54.5
|
172
|
+
|
173
|
+
- Improved tick placement in daily charts
|
174
|
+
- Minor upgrades: matplotlib==3.8.3; Pillow==10.2.0; geopandas==0.14.3
|
175
|
+
|
171
176
|
- 1.54.4
|
172
177
|
|
173
178
|
- Use Babel 2.14, and pin version
|
@@ -200,7 +205,7 @@ Changelog
|
|
200
205
|
- 1.53.0
|
201
206
|
|
202
207
|
- Fixed bug in value_labels, trying to access a color value that didn't exist
|
203
|
-
- Dropped Python 3.
|
208
|
+
- Dropped Python 3.8 support (upstream)
|
204
209
|
- Uses Matplotlib 3.8
|
205
210
|
- Uses Pillow 10
|
206
211
|
|
@@ -1,13 +1,8 @@
|
|
1
|
-
.flake8
|
2
|
-
.pre-commit-config.yaml
|
3
|
-
.pylintrc
|
4
1
|
LICENSE.txt
|
5
2
|
MANIFEST.in
|
6
3
|
README.rst
|
7
|
-
requirements.txt
|
8
4
|
setup.cfg
|
9
5
|
setup.py
|
10
|
-
.github/workflows/lint.yml
|
11
6
|
newsworthycharts/__init__.py
|
12
7
|
newsworthycharts/bubblemap.py
|
13
8
|
newsworthycharts/categoricalchart.py
|
@@ -44,7 +39,6 @@ newsworthycharts/rc/newsworthy
|
|
44
39
|
newsworthycharts/translations/datawrapper_regions.csv
|
45
40
|
newsworthycharts/translations/regions.py
|
46
41
|
newsworthycharts/translations/se_municipalities.csv
|
47
|
-
test/__init__.py
|
48
42
|
test/test_categorical_chart.py
|
49
43
|
test/test_choropleth_maps.py
|
50
44
|
test/test_custom_climate_cars.py
|
@@ -53,10 +47,4 @@ test/test_datawrapper.py
|
|
53
47
|
test/test_main.py
|
54
48
|
test/test_rangeplot.py
|
55
49
|
test/test_scatterplot.py
|
56
|
-
test/test_serial_chart.py
|
57
|
-
test/data/__init__.py
|
58
|
-
test/data/elpriser.json
|
59
|
-
test/data/range_plot_with_long_labels.json
|
60
|
-
test/data/scatterplot.py
|
61
|
-
test/data/test-so2.csv
|
62
|
-
test/images/logo.png
|
50
|
+
test/test_serial_chart.py
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Babel<3,>=2.14.0
|
2
|
-
Pillow==10.
|
2
|
+
Pillow==10.2.0
|
3
3
|
PyYAML>=3
|
4
4
|
adjustText==0.7.3
|
5
5
|
boto3>=1.26
|
6
|
-
geopandas==0.14.
|
6
|
+
geopandas==0.14.3
|
7
7
|
langcodes>=3.3
|
8
8
|
mapclassify==2.6.1
|
9
9
|
matplotlib-label-lines==0.5.1
|
10
|
-
matplotlib==3.8.
|
10
|
+
matplotlib==3.8.3
|
11
11
|
numpy<2,>=1.21.0
|
12
12
|
python-dateutil<3,>=2
|
13
13
|
requests>=2.22
|
@@ -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.3",
|
29
29
|
"langcodes>=3.3",
|
30
30
|
"Babel>=2.14.0,<3",
|
31
31
|
"PyYAML>=3",
|
32
32
|
"adjustText==0.7.3",
|
33
33
|
"numpy>=1.21.0,<2",
|
34
34
|
"python-dateutil>=2,<3",
|
35
|
-
"Pillow==10.
|
35
|
+
"Pillow==10.2.0",
|
36
36
|
"requests>=2.22",
|
37
37
|
"matplotlib-label-lines==0.5.1",
|
38
|
-
"geopandas==0.14.
|
38
|
+
"geopandas==0.14.3",
|
39
39
|
"mapclassify==2.6.1",
|
40
40
|
],
|
41
41
|
setup_requires=["flake8"],
|
newsworthycharts-1.54.4/.flake8
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
name: flake8 Lint
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
flake8-lint:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
name: Lint
|
9
|
-
steps:
|
10
|
-
- name: Check out source repository
|
11
|
-
uses: actions/checkout@v3
|
12
|
-
- name: Set up Python environment
|
13
|
-
uses: actions/setup-python@v4
|
14
|
-
with:
|
15
|
-
python-version: "3.11"
|
16
|
-
- name: flake8 Lint
|
17
|
-
uses: py-actions/flake8@v2
|
@@ -1,16 +0,0 @@
|
|
1
|
-
boto3==1.34.2
|
2
|
-
matplotlib==3.8.2
|
3
|
-
langcodes==3.3.0
|
4
|
-
Babel==2.14.0
|
5
|
-
PyYAML==6.0.1
|
6
|
-
adjustText==0.7.3
|
7
|
-
numpy==1.26.2
|
8
|
-
python-dateutil==2.8.2
|
9
|
-
pytest==7.4.3
|
10
|
-
flake8==6.1.0
|
11
|
-
requests==2.31.0
|
12
|
-
python-dotenv==1.0.0
|
13
|
-
matplotlib-label-lines==0.5.1
|
14
|
-
Pillow==10.1.0
|
15
|
-
geopandas==0.14.1
|
16
|
-
mapclassify==2.6.1
|
File without changes
|
File without changes
|