Skip to content

Commit

Permalink
Update upickle, upickle_2.13 to 3.1.3 (#1261)
Browse files Browse the repository at this point in the history
* Update upickle, upickle_2.13 to 3.1.3

* Update examples format to newer upickle defaults

---------

Co-authored-by: Alexandre Archambault <[email protected]>
  • Loading branch information
scala-steward and alexarchambault authored Sep 25, 2023
1 parent 35dce6c commit 55e5094
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 327 deletions.
36 changes: 9 additions & 27 deletions examples/colors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -14,9 +12,7 @@
]
},
"execution_count": 1,
"metadata": {

},
"metadata": {},
"output_type": "execute_result"
}
],
Expand All @@ -27,22 +23,16 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {

},
"outputs": [

],
"metadata": {},
"outputs": [],
"source": [
"interp.colors() = ammonite.util.Colors.BlackWhite"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -51,9 +41,7 @@
]
},
"execution_count": 3,
"metadata": {

},
"metadata": {},
"output_type": "execute_result"
}
],
Expand All @@ -64,15 +52,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {

},
"outputs": [

],
"source": [

]
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
60 changes: 15 additions & 45 deletions examples/displays.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -14,9 +12,7 @@
]
},
"execution_count": 1,
"metadata": {

},
"metadata": {},
"output_type": "execute_result"
}
],
Expand All @@ -27,19 +23,15 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<b>hello</b>"
]
},
"metadata": {

},
"metadata": {},
"output_type": "display_data"
}
],
Expand All @@ -50,9 +42,7 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -64,9 +54,7 @@
"[####################### ]"
]
},
"metadata": {

},
"metadata": {},
"output_type": "display_data"
}
],
Expand All @@ -77,9 +65,7 @@
{
"cell_type": "code",
"execution_count": 4,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -92,9 +78,7 @@
"\\end{eqnarray}"
]
},
"metadata": {

},
"metadata": {},
"output_type": "display_data"
}
],
Expand All @@ -110,19 +94,15 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"$\\displaystyle a = b + c$"
]
},
"metadata": {

},
"metadata": {},
"output_type": "display_data"
}
],
Expand All @@ -133,9 +113,7 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {

},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -146,9 +124,7 @@
"foo\n"
]
},
"metadata": {

},
"metadata": {},
"output_type": "display_data"
}
],
Expand All @@ -163,15 +139,9 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {

},
"outputs": [

],
"source": [

]
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Loading

0 comments on commit 55e5094

Please sign in to comment.