gov-uk-dashboards 21.0.0__py3-none-any.whl → 21.0.1__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.
- gov_uk_dashboards/components/helpers/get_chart_for_download.py +4 -2
- {gov_uk_dashboards-21.0.0.dist-info → gov_uk_dashboards-21.0.1.dist-info}/METADATA +1 -1
- {gov_uk_dashboards-21.0.0.dist-info → gov_uk_dashboards-21.0.1.dist-info}/RECORD +6 -6
- {gov_uk_dashboards-21.0.0.dist-info → gov_uk_dashboards-21.0.1.dist-info}/WHEEL +0 -0
- {gov_uk_dashboards-21.0.0.dist-info → gov_uk_dashboards-21.0.1.dist-info}/licenses/LICENSE +0 -0
- {gov_uk_dashboards-21.0.0.dist-info → gov_uk_dashboards-21.0.1.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ def get_chart_for_download(self, fig):
|
|
6
6
|
"""Returns a fig with title and subtitle for download as png"""
|
7
7
|
main_title = self.title_data[MAIN_TITLE]
|
8
8
|
subtitle = self.title_data[SUBTITLE]
|
9
|
-
footnote = self
|
9
|
+
footnote = getattr(self, "footnote", None)
|
10
10
|
|
11
11
|
fig.update_layout(
|
12
12
|
title={
|
@@ -29,6 +29,8 @@ def get_chart_for_download(self, fig):
|
|
29
29
|
"showarrow": False,
|
30
30
|
"align": "left",
|
31
31
|
}
|
32
|
-
]
|
32
|
+
]
|
33
|
+
if footnote is not None
|
34
|
+
else [],
|
33
35
|
)
|
34
36
|
return fig
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: gov_uk_dashboards
|
3
|
-
Version: 21.0.
|
3
|
+
Version: 21.0.1
|
4
4
|
Summary: Provides access to functionality common to creating a data dashboard.
|
5
5
|
Author: Department for Levelling Up, Housing and Communities
|
6
6
|
Description-Content-Type: text/markdown
|
@@ -71,7 +71,7 @@ gov_uk_dashboards/components/dash/warning_text.py,sha256=31XvPUINt2QsWIaaMnqEvn2
|
|
71
71
|
gov_uk_dashboards/components/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
72
72
|
gov_uk_dashboards/components/helpers/display_chart_or_table_with_header.py,sha256=wDK8VUfaK4cfJDwafN_U1tf4R0kxzv9_V98vnXO-sio,3255
|
73
73
|
gov_uk_dashboards/components/helpers/generate_dash_graph_from_figure.py,sha256=sdhC6Mjfw6kqs1MDRDoMuOt8dNS9Bl1WEoJX9S5AssA,1813
|
74
|
-
gov_uk_dashboards/components/helpers/get_chart_for_download.py,sha256=
|
74
|
+
gov_uk_dashboards/components/helpers/get_chart_for_download.py,sha256=I0IH7bE3B8UmdIHTn5tM26iGR6bfnB_fCfgnFQEIF4o,1179
|
75
75
|
gov_uk_dashboards/components/helpers/plotting_helper_functions.py,sha256=WUif1mlSgWPuTZptBqaElWpJTlitmuiJofMTpOe_Bsg,1833
|
76
76
|
gov_uk_dashboards/components/helpers/update_layout_bgcolor_margin.py,sha256=i7Nwp0CxFpkyQeR8KfOBVMBkzctG7hMpWI2OzgxB2jY,740
|
77
77
|
gov_uk_dashboards/components/leaflet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -106,8 +106,8 @@ gov_uk_dashboards/lib/datetime_functions/datetime_functions.py,sha256=BQgr8I_vFN
|
|
106
106
|
gov_uk_dashboards/lib/download_functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
107
|
gov_uk_dashboards/lib/download_functions/convert_fig_to_image_and_download.py,sha256=-dkYbpTL6txftFfAZW-vfW_O9efb6Dse9WJ9MM6mAqw,534
|
108
108
|
gov_uk_dashboards/lib/download_functions/download_csv_with_headers.py,sha256=uKMxKrdhaLj1c0ZWAmc02uu8PICjbn1fWt9YBw8FGnQ,4408
|
109
|
-
gov_uk_dashboards-21.0.
|
110
|
-
gov_uk_dashboards-21.0.
|
111
|
-
gov_uk_dashboards-21.0.
|
112
|
-
gov_uk_dashboards-21.0.
|
113
|
-
gov_uk_dashboards-21.0.
|
109
|
+
gov_uk_dashboards-21.0.1.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
|
110
|
+
gov_uk_dashboards-21.0.1.dist-info/METADATA,sha256=KgSOBIpsLWIQ8AcNayDEyu-TvWxUndDrD4oHoRscFyA,5917
|
111
|
+
gov_uk_dashboards-21.0.1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
112
|
+
gov_uk_dashboards-21.0.1.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
|
113
|
+
gov_uk_dashboards-21.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|