apmtools 0.2.19__tar.gz → 0.2.20__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: apmtools
3
- Version: 0.2.019
3
+ Version: 0.2.020
4
4
  Summary: A collection of tools for processing air pollution monitoring data
5
5
  Project-URL: Homepage, https://github.com/federlorenz/apmtools
6
6
  Author-email: Federico Lorenzetti <lorenzetti.federico@gmail.com>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "apmtools"
7
- version = "0.2.019"
7
+ version = "0.2.020"
8
8
  authors = [
9
9
  { name="Federico Lorenzetti", email="lorenzetti.federico@gmail.com" },
10
10
  ]
@@ -500,10 +500,13 @@ def create_summary_app(
500
500
  "Summary.group_stat()."
501
501
  ),
502
502
  ),
503
- ui.card(
504
- ui.card_header("Interactive plot"),
505
- output_widget("plot", height="75vh"),
506
- ),
503
+ ui.div(
504
+ output_widget("plot", height="100%", width="100%"),
505
+ style=(
506
+ "width: 100%; max-width: 100%; aspect-ratio: 16 / 9; "
507
+ "min-height: 0; margin: 0; padding: 0;"
508
+ ),
509
+ ),
507
510
  )
508
511
 
509
512
  def server(input, output, session):
@@ -856,6 +859,7 @@ def create_summary_app(
856
859
  title=input.title(),
857
860
  hovermode="x unified" if selected_plot == "line" else "closest",
858
861
  margin=dict(l=60, r=30, t=70, b=60),
862
+ autosize=True,
859
863
  )
860
864
  return fig
861
865
 
File without changes
File without changes
File without changes