gov-uk-dashboards 22.0.0__py3-none-any.whl → 22.1.0__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.
@@ -267,11 +267,12 @@ class LeafletChoroplethMap:
267
267
  def _get_colorbar_title(self):
268
268
  if self.color_scale_is_discrete:
269
269
  return None
270
+ top = "70px" if self.enable_zoom is False else "140px"
270
271
  return html.Div(
271
272
  self.hover_text_columns[0],
272
273
  style={
273
274
  "position": "absolute",
274
- "top": "70px", # Adjusted to place above the colorbar
275
+ "top": top, # Adjusted to place above the colorbar
275
276
  "left": "10px", # Align with the left side of the colorbar
276
277
  "background": "white",
277
278
  "padding": "2px 6px",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gov_uk_dashboards
3
- Version: 22.0.0
3
+ Version: 22.1.0
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
@@ -78,7 +78,7 @@ gov_uk_dashboards/components/helpers/get_chart_for_download.py,sha256=I0IH7bE3B8
78
78
  gov_uk_dashboards/components/helpers/plotting_helper_functions.py,sha256=WUif1mlSgWPuTZptBqaElWpJTlitmuiJofMTpOe_Bsg,1833
79
79
  gov_uk_dashboards/components/helpers/update_layout_bgcolor_margin.py,sha256=i7Nwp0CxFpkyQeR8KfOBVMBkzctG7hMpWI2OzgxB2jY,740
80
80
  gov_uk_dashboards/components/leaflet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
- gov_uk_dashboards/components/leaflet/leaflet_choropleth_map.py,sha256=tRa84PKUQ2qyp8x8fGqEypx0zwDmZliV9rBg1TzfKzk,10133
81
+ gov_uk_dashboards/components/leaflet/leaflet_choropleth_map.py,sha256=wkBw8x-x8XKuSzzEEW7hAFqh-5keWRardw1u0ZT_vBk,10193
82
82
  gov_uk_dashboards/components/plotly/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
83
  gov_uk_dashboards/components/plotly/captioned_figure.py,sha256=T0sbtGTiJ79FXxVdPb__hqISuyTc3Dl11cKhgcuW-5U,2804
84
84
  gov_uk_dashboards/components/plotly/choropleth_map.py,sha256=U9RmS3MZGloQAt9HoSYh3Xad205DDfZOjz91ZD_ydbI,9849
@@ -109,8 +109,8 @@ gov_uk_dashboards/lib/datetime_functions/datetime_functions.py,sha256=BQgr8I_vFN
109
109
  gov_uk_dashboards/lib/download_functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
110
110
  gov_uk_dashboards/lib/download_functions/convert_fig_to_image_and_download.py,sha256=-dkYbpTL6txftFfAZW-vfW_O9efb6Dse9WJ9MM6mAqw,534
111
111
  gov_uk_dashboards/lib/download_functions/download_csv_with_headers.py,sha256=aLL3UodmilZA_1bQhtjtKi3FoB-4X_MtLOcDw5e1Nwo,4412
112
- gov_uk_dashboards-22.0.0.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
113
- gov_uk_dashboards-22.0.0.dist-info/METADATA,sha256=jBFo05Y7nE-tqjjO28_K6RpYssiXb80S_y1fKBJgKB0,5917
114
- gov_uk_dashboards-22.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
- gov_uk_dashboards-22.0.0.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
116
- gov_uk_dashboards-22.0.0.dist-info/RECORD,,
112
+ gov_uk_dashboards-22.1.0.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
113
+ gov_uk_dashboards-22.1.0.dist-info/METADATA,sha256=tCyHhM2VlhsZMqArb1FRNkmFQBbML4V0jsH_ZgwLBGo,5917
114
+ gov_uk_dashboards-22.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
+ gov_uk_dashboards-22.1.0.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
116
+ gov_uk_dashboards-22.1.0.dist-info/RECORD,,