gov-uk-dashboards 15.2.0__py3-none-any.whl → 15.2.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.
@@ -243,7 +243,7 @@ class TimeSeriesChart:
243
243
  font={"size": CHART_LABEL_FONT_SIZE},
244
244
  yaxis_tickformat=",",
245
245
  hovermode="x unified" if self.x_unified_hovermode is True else "closest",
246
- hoverdistance=1000, # Increase distance to simulate hover 'always on'
246
+ hoverdistance=100, # Increase distance to simulate hover 'always on'
247
247
  )
248
248
  return fig
249
249
 
@@ -315,7 +315,7 @@ class TimeSeriesChart:
315
315
 
316
316
  def _get_custom_hover_template(self, i, df, trace_name):
317
317
  if self.x_unified_hovermode is True:
318
- return "%{customdata[0]}"
318
+ return f"{trace_name}: " + "%{customdata[0]}<extra></extra>"
319
319
  hover_text_headers = self.hover_data[trace_name][HOVER_TEXT_HEADERS]
320
320
  if (
321
321
  self.hover_data_for_traces_with_different_hover_for_last_point is not None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gov_uk_dashboards
3
- Version: 15.2.0
3
+ Version: 15.2.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
@@ -79,7 +79,7 @@ gov_uk_dashboards/components/plotly/captioned_figure.py,sha256=T0sbtGTiJ79FXxVdP
79
79
  gov_uk_dashboards/components/plotly/choropleth_map.py,sha256=U9RmS3MZGloQAt9HoSYh3Xad205DDfZOjz91ZD_ydbI,9849
80
80
  gov_uk_dashboards/components/plotly/enums.py,sha256=ebHiFQljA7O4HJxKoslqlNXcAjUZi1askpTSwxKEcYQ,850
81
81
  gov_uk_dashboards/components/plotly/stacked_barchart.py,sha256=y2XOf96tMfy5ythPb5RzqW5qGc2sKU3W508UbWO2iC0,12175
82
- gov_uk_dashboards/components/plotly/time_series_chart.py,sha256=-hO_yz6CmwylLS8x0qW_Me6PgAUu5Kyl0PQ_UO_zaM8,19927
82
+ gov_uk_dashboards/components/plotly/time_series_chart.py,sha256=ZwD61uCvQz1D4zD8kvG-CZvNNh8UIjhBCZuYu3Sczo8,19961
83
83
  gov_uk_dashboards/figures/__init__.py,sha256=_snQeNlM81nNKERl4gg9ScH2HYbtwaBjl8yQonccx34,712
84
84
  gov_uk_dashboards/figures/chart_data.py,sha256=fEsNkQFzXKIQ0h7aLBWq3J1qAxHbxvJeKU23JrVodVc,757
85
85
  gov_uk_dashboards/figures/line_chart.py,sha256=rEB51_z9cPl7BcT94iA6ZsZXzecnVCnGpQWW_9SNGUY,2813
@@ -100,8 +100,8 @@ gov_uk_dashboards/lib/dap/dap_deployment.py,sha256=ZXixeOAtRNjMsPdGKLwwLNamlo0mi
100
100
  gov_uk_dashboards/lib/dap/get_dataframe_from_cds.py,sha256=OiusRCgYnkBjK_GZgYLGzNrxOGizYt8CgThiWRCVKK0,3921
101
101
  gov_uk_dashboards/lib/datetime_functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
102
102
  gov_uk_dashboards/lib/datetime_functions/datetime_functions.py,sha256=BQgr8I_vFNYwLi-fE4YC6jZ5PpbPea2rnD_2a_lw0YE,12209
103
- gov_uk_dashboards-15.2.0.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
104
- gov_uk_dashboards-15.2.0.dist-info/METADATA,sha256=EJHevNpKFYF8I9Fgf54MIQVTv9oqnxiVabqn8tnDTF4,5917
105
- gov_uk_dashboards-15.2.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
106
- gov_uk_dashboards-15.2.0.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
107
- gov_uk_dashboards-15.2.0.dist-info/RECORD,,
103
+ gov_uk_dashboards-15.2.1.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
104
+ gov_uk_dashboards-15.2.1.dist-info/METADATA,sha256=v-9s8m75_YYPvDFN7C9L65oG0IjLRvtOm8GxfYIy-DE,5917
105
+ gov_uk_dashboards-15.2.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
106
+ gov_uk_dashboards-15.2.1.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
107
+ gov_uk_dashboards-15.2.1.dist-info/RECORD,,