executable-engineering 0.1.38__tar.gz → 0.1.39__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.
Files changed (20) hide show
  1. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/PKG-INFO +1 -1
  2. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/openrootfinder_module.py +18 -12
  3. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering.egg-info/PKG-INFO +1 -1
  4. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/setup.py +1 -1
  5. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/LICENSE +0 -0
  6. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/README.md +0 -0
  7. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/__init__.py +0 -0
  8. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/closedoptimization_module.py +0 -0
  9. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/closedrootfinder_module.py +0 -0
  10. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/gradientoptimization_module.py +0 -0
  11. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/linearsystems_module.py +0 -0
  12. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/neuralnet_module.py +0 -0
  13. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/numerical_error_module.py +0 -0
  14. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering/openoptimization_module.py +0 -0
  15. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering.egg-info/SOURCES.txt +0 -0
  16. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering.egg-info/dependency_links.txt +0 -0
  17. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering.egg-info/requires.txt +0 -0
  18. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/executable_engineering.egg-info/top_level.txt +0 -0
  19. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/pyproject.toml +0 -0
  20. {executable_engineering-0.1.38 → executable_engineering-0.1.39}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: executable_engineering
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary: Demonstrative tools for the Executable Engineering textbook
5
5
  Home-page: https://github.com/themintlab/ExecutableEngineering/tree/main/executable_engineering
6
6
  Author: Michael Welland
@@ -138,20 +138,26 @@ class RootFinderOpen:
138
138
  return HTML(anim.to_jshtml())
139
139
 
140
140
  def show_toggle_open(self, interval_ms=750):
141
- newton_anim_html = self._make_animation_open('Newton', interval_ms)
142
- secant_anim_html = self._make_animation_open('Secant', interval_ms)
141
+ newton_anim_html = self._make_animation_open('Newton', interval_ms)
142
+ secant_anim_html = self._make_animation_open('Secant', interval_ms)
143
143
 
144
- if newton_anim_html is None or secant_anim_html is None:
145
- print("Cannot create animations. Check function definition or initial points (x0, x1).")
146
- return
144
+ if newton_anim_html is None or secant_anim_html is None:
145
+ print("Cannot create animations. Check function definition or initial points (x0, x1).")
146
+ return
147
147
 
148
- newton_content = widgets.HTML(value=newton_anim_html.data)
149
- secant_content = widgets.HTML(value=secant_anim_html.data)
148
+ newton_out = widgets.Output()
149
+ secant_out = widgets.Output()
150
150
 
151
- tab_container = widgets.Tab()
152
- tab_container.children = [newton_content, secant_content]
151
+ with newton_out:
152
+ display(newton_anim_html)
153
+
154
+ with secant_out:
155
+ display(secant_anim_html)
153
156
 
154
- tab_container.set_title(0, 'Newton')
155
- tab_container.set_title(1, 'Secant')
157
+ tab_container = widgets.Tab()
158
+ tab_container.children = [newton_out, secant_out]
156
159
 
157
- display(tab_container)
160
+ tab_container.set_title(0, 'Newton')
161
+ tab_container.set_title(1, 'Secant')
162
+
163
+ display(tab_container)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: executable_engineering
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary: Demonstrative tools for the Executable Engineering textbook
5
5
  Home-page: https://github.com/themintlab/ExecutableEngineering/tree/main/executable_engineering
6
6
  Author: Michael Welland
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
6
6
 
7
7
  setup(
8
8
  name="executable_engineering",
9
- version="0.1.38",
9
+ version="0.1.39",
10
10
  description="Demonstrative tools for the Executable Engineering textbook",
11
11
  long_description=long_description,
12
12
  long_description_content_type="text/markdown",