Skip to content

Commit

Permalink
Update notebook execution timestamps and fix styling in TextResult.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwenyihust committed Jun 17, 2024
1 parent 9c1d7a2 commit 6ed0872
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
41 changes: 19 additions & 22 deletions examples/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,51 +16,48 @@
"cell_type": "code",
"execution_count": null,
"lastExecutionResult": "success",
"lastExecutionTime": "2024-06-17 13:30:52",
"lastExecutionTime": "2024-06-17 14:22:59",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"666"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"666"
"import numpy as np\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": null,
"lastExecutionResult": "success",
"lastExecutionTime": "2024-06-17 14:07:24",
"lastExecutionTime": "2024-06-17 14:23:10",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"333"
"0 1.0\n",
"1 3.0\n",
"2 5.0\n",
"3 NaN\n",
"4 6.0\n",
"5 8.0\n",
"dtype: float64"
]
},
"execution_count": 15,
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"333"
"s = pd.Series([1, 3, 5, np.nan, 6, 8])\n",
"s"
]
},
{
"cell_type": "code",
"execution_count": 1,
"lastExecutionResult": "error",
"lastExecutionTime": "2024-06-17 13:30:59",
"lastExecutionResult": null,
"lastExecutionTime": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -94,8 +91,8 @@
{
"cell_type": "code",
"execution_count": null,
"lastExecutionResult": "success",
"lastExecutionTime": "2024-06-17 14:07:43",
"lastExecutionResult": null,
"lastExecutionTime": null,
"metadata": {},
"outputs": [
{
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/notebook/cell/result/TextResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function TextResult(output) {
marginBottom: 1,
marginRight: 1,
}}>
{output.data['text/plain']}
<pre>{output.data['text/plain']}</pre>
</Typography>
</Card>
}
Expand Down

0 comments on commit 6ed0872

Please sign in to comment.