diff --git a/src/py/CHANGELOG.txt b/src/py/CHANGELOG.txt
index ab479456..b36a94b2 100644
--- a/src/py/CHANGELOG.txt
+++ b/src/py/CHANGELOG.txt
@@ -1,3 +1,6 @@
+v1.0.1
+- Fix bug where attribute was inconsistently named
+
v1.0.0
- Add warning if using incompatible Plotly version
diff --git a/src/py/kaleido/kaleido.py b/src/py/kaleido/kaleido.py
index 1c29d65e..82369339 100644
--- a/src/py/kaleido/kaleido.py
+++ b/src/py/kaleido/kaleido.py
@@ -56,8 +56,8 @@ class Kaleido(choreo.Browser):
async def close(self):
"""Close the browser."""
- if self.tmp_dir:
- self.tmp_dir.clean()
+ if self._tmp_dir:
+ self._tmp_dir.clean()
_logger.info("Cancelling tasks.")
for task in self._main_tasks:
if not task.done():
@@ -137,8 +137,8 @@ def __init__(self, *args, **kwargs): # noqa: D417 no args/kwargs in description
elif page and hasattr(page, "is_file") and page.is_file():
self._index = page.as_uri()
else:
- self.tmp_dir = TmpDirectory(sneak=self.is_isolated())
- index = self.tmp_dir.path / "index.html"
+ self._tmp_dir = TmpDirectory(sneak=self.is_isolated())
+ index = self._tmp_dir.path / "index.html"
self._index = index.as_uri()
if not page:
page = PageGenerator(plotly=self._plotlyjs, mathjax=self._mathjax)
diff --git a/src/py/site/404.html b/src/py/site/404.html
index 9674ad01..7bfde994 100644
--- a/src/py/site/404.html
+++ b/src/py/site/404.html
@@ -14,7 +14,7 @@
-
+
@@ -22,7 +22,7 @@
-
+
@@ -176,6 +176,7 @@
+
Readme
@@ -197,6 +198,7 @@
+
Examples
@@ -218,6 +220,7 @@
+
User API Reference
@@ -239,6 +242,7 @@
+
kaleido.errors
@@ -313,10 +317,12 @@ 404 - Not found
-
+
+
+
-
+