figpack 0.2.28__py3-none-any.whl → 0.2.29__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.
Potentially problematic release.
This version of figpack might be problematic. Click here for more details.
- figpack/__init__.py +1 -1
- figpack/core/figpack_view.py +6 -0
- figpack/figpack-figure-dist/assets/index-CSkROe6e.js +392 -0
- figpack/figpack-figure-dist/index.html +1 -1
- figpack/views/Iframe.py +43 -0
- figpack/views/Markdown.py +6 -2
- figpack/views/TimeseriesGraph.py +28 -0
- figpack/views/__init__.py +1 -0
- {figpack-0.2.28.dist-info → figpack-0.2.29.dist-info}/METADATA +1 -1
- {figpack-0.2.28.dist-info → figpack-0.2.29.dist-info}/RECORD +14 -13
- figpack/figpack-figure-dist/assets/index-DnHZdWys.js +0 -95
- {figpack-0.2.28.dist-info → figpack-0.2.29.dist-info}/WHEEL +0 -0
- {figpack-0.2.28.dist-info → figpack-0.2.29.dist-info}/entry_points.txt +0 -0
- {figpack-0.2.28.dist-info → figpack-0.2.29.dist-info}/licenses/LICENSE +0 -0
- {figpack-0.2.28.dist-info → figpack-0.2.29.dist-info}/top_level.txt +0 -0
figpack/__init__.py
CHANGED
figpack/core/figpack_view.py
CHANGED
|
@@ -115,6 +115,12 @@ class FigpackView:
|
|
|
115
115
|
if _dev is None:
|
|
116
116
|
_dev = os.environ.get("FIGPACK_DEV") == "1"
|
|
117
117
|
|
|
118
|
+
if port is None and os.environ.get("FIGPACK_PORT"):
|
|
119
|
+
try:
|
|
120
|
+
port = int(os.environ.get("FIGPACK_PORT"))
|
|
121
|
+
except Exception:
|
|
122
|
+
pass
|
|
123
|
+
|
|
118
124
|
# determine wait_for_input
|
|
119
125
|
if wait_for_input is None:
|
|
120
126
|
wait_for_input = not _is_in_notebook()
|