syd 0.1.3__tar.gz → 0.1.4__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.4
2
2
  Name: syd
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A Python package for making GUIs for data science easy.
5
5
  Project-URL: Homepage, https://github.com/landoskape/syd
6
6
  Author-email: Andrew Landau <andrew+tyler+landau+getridofthisanddtheplusses@gmail.com>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "syd"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  authors = [
9
9
  {name = "Andrew Landau", email = "andrew+tyler+landau+getridofthisanddtheplusses@gmail.com"},
10
10
  ]
@@ -0,0 +1 @@
1
+ __version__ = "0.1.4"
@@ -97,13 +97,13 @@ class NotebookDeployment:
97
97
  def _create_integer_pair_widget(self, param: IntegerPairParameter) -> widgets.HBox:
98
98
  """Create a pair of integer input widgets."""
99
99
  low = widgets.IntText(
100
- value=param.default_low if param.default_low is not None else param.min_value,
100
+ value=param.default[0],
101
101
  description=f"{param.name} (low)",
102
102
  layout=widgets.Layout(width="47%"),
103
103
  style={"description_width": "initial"},
104
104
  )
105
105
  high = widgets.IntText(
106
- value=param.default_high if param.default_high is not None else param.max_value,
106
+ value=param.default[1],
107
107
  description=f"{param.name} (high)",
108
108
  layout=widgets.Layout(width="47%"),
109
109
  style={"description_width": "initial"},
@@ -113,13 +113,13 @@ class NotebookDeployment:
113
113
  def _create_float_pair_widget(self, param: FloatPairParameter) -> widgets.HBox:
114
114
  """Create a pair of float input widgets."""
115
115
  low = widgets.FloatText(
116
- value=param.default_low if param.default_low is not None else param.min_value,
116
+ value=param.default[0],
117
117
  description=f"{param.name} (low)",
118
118
  layout=widgets.Layout(width="47%"),
119
119
  style={"description_width": "initial"},
120
120
  )
121
121
  high = widgets.FloatText(
122
- value=param.default_high if param.default_high is not None else param.max_value,
122
+ value=param.default[1],
123
123
  description=f"{param.name} (high)",
124
124
  layout=widgets.Layout(width="47%"),
125
125
  style={"description_width": "initial"},
syd-0.1.3/syd/__init__.py DELETED
@@ -1 +0,0 @@
1
- __version__ = "0.1.3"
File without changes
File without changes
File without changes
File without changes
File without changes