newsworthycharts 1.57.0__tar.gz → 1.57.1__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.57.0/newsworthycharts.egg-info → newsworthycharts-1.57.1}/PKG-INFO +8 -3
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/README.rst +6 -1
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/__init__.py +1 -1
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/choroplethmap.py +2 -16
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1/newsworthycharts.egg-info}/PKG-INFO +8 -3
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts.egg-info/requires.txt +2 -2
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/setup.py +2 -2
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/LICENSE.txt +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/MANIFEST.in +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/bubblemap.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/categoricalchart.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/chart.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/custom/__init__.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/custom/climate_cars.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/datawrapper.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/__init__.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/color_fn.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/colors.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/datalist.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/formatter.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/geography.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/locator.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/mimetypes.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/lib/utils.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/map.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/maps/se-4.gpkg +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/maps/se-7.gpkg +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/rangeplot.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/rc/newsworthy +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/scatterplot.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/seasonalchart.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/serialchart.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/storage.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/stripechart.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/translations/datawrapper_regions.csv +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/translations/regions.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts/translations/se_municipalities.csv +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts.egg-info/SOURCES.txt +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts.egg-info/dependency_links.txt +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts.egg-info/not-zip-safe +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/newsworthycharts.egg-info/top_level.txt +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/setup.cfg +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_categorical_chart.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_choropleth_maps.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_custom_climate_cars.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_data_list.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_datawrapper.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_main.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_rangeplot.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_scatterplot.py +0 -0
- {newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/test/test_serial_chart.py +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: newsworthycharts
|
3
|
-
Version: 1.57.
|
3
|
+
Version: 1.57.1
|
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.57.
|
6
|
+
Download-URL: https://github.com/jplusplus/newsworthycharts/archive/1.57.1.tar.gz
|
7
7
|
Author: Jens Finnäs and Leo Wallentin, J++ Stockholm
|
8
8
|
Author-email: stockholm@jplusplus.org
|
9
9
|
License: MIT
|
@@ -224,9 +224,14 @@ Roadmap
|
|
224
224
|
Changelog
|
225
225
|
---------
|
226
226
|
|
227
|
+
- 1.57.1
|
228
|
+
|
229
|
+
- Fix missing outline in choropleth maps
|
230
|
+
- matplotlib==3.8.4; Pillow==10.3.0
|
231
|
+
|
227
232
|
- 1.57.0
|
228
233
|
|
229
|
-
-
|
234
|
+
- Changed z-ordering so that line are always on top of bars, and ylines/zero lines are behind lines but in front of bars
|
230
235
|
- Avoid using the same color for trendline and lines
|
231
236
|
- `yline` was moved to the SerialChart class, where it makes sense.
|
232
237
|
|
@@ -211,9 +211,14 @@ Roadmap
|
|
211
211
|
Changelog
|
212
212
|
---------
|
213
213
|
|
214
|
+
- 1.57.1
|
215
|
+
|
216
|
+
- Fix missing outline in choropleth maps
|
217
|
+
- matplotlib==3.8.4; Pillow==10.3.0
|
218
|
+
|
214
219
|
- 1.57.0
|
215
220
|
|
216
|
-
-
|
221
|
+
- Changed z-ordering so that line are always on top of bars, and ylines/zero lines are behind lines but in front of bars
|
217
222
|
- Avoid using the same color for trendline and lines
|
218
223
|
- `yline` was moved to the SerialChart class, where it makes sense.
|
219
224
|
|
@@ -112,27 +112,13 @@ class ChoroplethMap(Map):
|
|
112
112
|
|
113
113
|
fig = df.plot(ax=self.ax, **args)
|
114
114
|
# Add outer edge
|
115
|
-
|
116
|
-
mp = MultiPolygon([g for g in df.explode(index_parts=True).geometry])
|
117
|
-
gpd.GeoSeries(mp.boundary).plot(
|
115
|
+
gpd.GeoSeries(df.unary_union).plot(
|
118
116
|
ax=self.ax,
|
119
117
|
edgecolor="lightgrey",
|
120
118
|
linewidth=0.2,
|
119
|
+
facecolor="none",
|
121
120
|
color="none",
|
122
121
|
)
|
123
|
-
"""
|
124
|
-
unary = df.unary_union
|
125
|
-
if unary.geom_type == "Polygon":
|
126
|
-
# We don't know in advance if unary_union will produce a polugon or a multipolygon
|
127
|
-
unary = MultiPolygon([unary])
|
128
|
-
for uu in unary.geoms:
|
129
|
-
gpd.GeoSeries(uu).plot(
|
130
|
-
ax=self.ax,
|
131
|
-
edgecolor="lightgrey",
|
132
|
-
linewidth=0.2,
|
133
|
-
facecolor="none",
|
134
|
-
)
|
135
|
-
"""
|
136
122
|
self.ax.axis("off")
|
137
123
|
|
138
124
|
# Format numbers in legend
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: newsworthycharts
|
3
|
-
Version: 1.57.
|
3
|
+
Version: 1.57.1
|
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.57.
|
6
|
+
Download-URL: https://github.com/jplusplus/newsworthycharts/archive/1.57.1.tar.gz
|
7
7
|
Author: Jens Finnäs and Leo Wallentin, J++ Stockholm
|
8
8
|
Author-email: stockholm@jplusplus.org
|
9
9
|
License: MIT
|
@@ -224,9 +224,14 @@ Roadmap
|
|
224
224
|
Changelog
|
225
225
|
---------
|
226
226
|
|
227
|
+
- 1.57.1
|
228
|
+
|
229
|
+
- Fix missing outline in choropleth maps
|
230
|
+
- matplotlib==3.8.4; Pillow==10.3.0
|
231
|
+
|
227
232
|
- 1.57.0
|
228
233
|
|
229
|
-
-
|
234
|
+
- Changed z-ordering so that line are always on top of bars, and ylines/zero lines are behind lines but in front of bars
|
230
235
|
- Avoid using the same color for trendline and lines
|
231
236
|
- `yline` was moved to the SerialChart class, where it makes sense.
|
232
237
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
Babel<3,>=2.14.0
|
2
|
-
Pillow==10.
|
2
|
+
Pillow==10.3.0
|
3
3
|
PyYAML>=3
|
4
4
|
adjustText==0.7.3
|
5
5
|
boto3>=1.26
|
@@ -7,7 +7,7 @@ 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.4
|
11
11
|
numpy<2,>=1.21.0
|
12
12
|
python-dateutil<3,>=2
|
13
13
|
requests>=2.22
|
@@ -25,14 +25,14 @@ setup(
|
|
25
25
|
python_requires='>=3.9',
|
26
26
|
install_requires=[
|
27
27
|
"boto3>=1.26",
|
28
|
-
"matplotlib==3.8.
|
28
|
+
"matplotlib==3.8.4",
|
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.3.0",
|
36
36
|
"requests>=2.22",
|
37
37
|
"matplotlib-label-lines==0.5.1",
|
38
38
|
"geopandas==0.14.3",
|
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.57.0 → newsworthycharts-1.57.1}/newsworthycharts/translations/regions.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{newsworthycharts-1.57.0 → newsworthycharts-1.57.1}/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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|