Skip to content

Instantly share code, notes, and snippets.

@krassowski
Last active August 21, 2021 14:59
Show Gist options
  • Save krassowski/fd91a4124fd204125545c62ab89683e4 to your computer and use it in GitHub Desktop.
Save krassowski/fd91a4124fd204125545c62ab89683e4 to your computer and use it in GitHub Desktop.
Reproducer of cell rendering issue
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "87256b67-e9e3-4869-a4fc-14fde675eccb",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"1"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "cb08c2b4-b9ff-4e59-886a-f45dbef0d850",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"2"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "0a41d45a-24f4-4a1f-bf1c-15dffe47dd6e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"3"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"3"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "a25c4afe-7327-461f-85ae-e94669410a2c",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"4"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"4"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "735e048b-60e1-46d2-b451-7885e3142c57",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"5"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"5"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "ec26e45f-3bbc-430f-914e-e6702de31db9",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"6"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"6"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "a5a2acc2-b0d2-4db1-9feb-2b25f481552e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"7"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"7"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "66912efb-c33f-4be9-9e13-411c1db630a6",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"8"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"8"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "9cdadabc-9dd3-4e32-a5b9-9443836a9b6d",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"9"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"9"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "ff1a36c6-98e4-4de8-81ad-f1b1140c722c",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"10"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"10"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "e1a162a3-13e7-4aa0-8545-632b64b9961d",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"11"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"11"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "9363225c-b3f5-4445-91b9-cb1a8e84ecbf",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"12"
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"12"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "b94ef658-8ccc-49ea-bee1-9c33964a8c74",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"13"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"13"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "25ecbbd0-6433-4099-911b-003dfdefd650",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"14"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"14"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "20cbefd6-8f7e-4759-8ee7-5c1007aebcd7",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"15"
]
},
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"15"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "0792965e-70d2-4fe6-a770-c8f2a3b47c7a",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"16"
]
},
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"16"
]
},
{
"cell_type": "code",
"execution_count": 17,
"id": "9bbf89f2-be6d-4a50-a673-917744fa415e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"17"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"17"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "d76df237-ba4b-4a62-a122-25152c8a1338",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"18"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"18"
]
},
{
"cell_type": "code",
"execution_count": 19,
"id": "27ef008b-6176-4278-806f-a064ee21ad35",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"19"
]
},
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"19"
]
},
{
"cell_type": "code",
"execution_count": 20,
"id": "3d8ebc90-b1dd-4076-9fd8-fd6326afabf7",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"20"
]
},
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"20"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "b61c3904-5d43-4d6b-9bb3-656f3a53137b",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"21"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"21"
]
},
{
"cell_type": "code",
"execution_count": 22,
"id": "6f732976-5d89-4434-9991-b0b4ab85ec82",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"22"
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"22"
]
},
{
"cell_type": "code",
"execution_count": 23,
"id": "af78b232-f1fa-413c-8ae3-824c740a6dc2",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"23"
]
},
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"23"
]
},
{
"cell_type": "code",
"execution_count": 24,
"id": "ae15e5df-0b1d-4c8b-a32e-f9de6cc19572",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"24"
]
},
"execution_count": 24,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"24"
]
},
{
"cell_type": "code",
"execution_count": 25,
"id": "21e250f3-f17d-45b3-81fa-e16851263aa2",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"25"
]
},
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"25"
]
},
{
"cell_type": "code",
"execution_count": 26,
"id": "7e93fe01-d13c-4e96-9791-01d2bf8920e9",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"26"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"26"
]
},
{
"cell_type": "code",
"execution_count": 27,
"id": "2b22c36f-8f05-4f41-bd9b-d610066eb68a",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"27"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"27"
]
},
{
"cell_type": "code",
"execution_count": 28,
"id": "2b2e1233-872d-4733-98ae-7e03c9086e69",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"28"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"28"
]
},
{
"cell_type": "code",
"execution_count": 29,
"id": "aff04576-5b15-4fc4-83af-2a9b7252ec52",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"29"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"29"
]
},
{
"cell_type": "code",
"execution_count": 30,
"id": "cab376c4-48d9-4ee2-9be6-099708fc191f",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"30"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"30"
]
},
{
"cell_type": "code",
"execution_count": 31,
"id": "08ce0016-929d-440f-8d0e-e4023fe5dc41",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"31"
]
},
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"31"
]
},
{
"cell_type": "code",
"execution_count": 32,
"id": "68b2e943-0d83-4bc4-aa46-12b7bc84dff1",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"32"
]
},
"execution_count": 32,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"32"
]
},
{
"cell_type": "code",
"execution_count": 33,
"id": "c73c7b1e-5953-4945-bd57-38adb2af75bc",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"33"
]
},
"execution_count": 33,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"33"
]
},
{
"cell_type": "code",
"execution_count": 34,
"id": "06b993a6-60fe-4aea-bb83-445973522910",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"34"
]
},
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"34"
]
},
{
"cell_type": "code",
"execution_count": 35,
"id": "681dc580-2b87-4473-8cfe-05c474ffffd2",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"35"
]
},
"execution_count": 35,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"35"
]
},
{
"cell_type": "code",
"execution_count": 36,
"id": "8052d827-1bff-400c-9cb4-c47dc8678691",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"36"
]
},
"execution_count": 36,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"36"
]
},
{
"cell_type": "code",
"execution_count": 37,
"id": "f0566f29-6ae3-452c-87ad-0140a9862eab",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"37"
]
},
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"37"
]
},
{
"cell_type": "code",
"execution_count": 38,
"id": "998e1890-3907-4c40-ab9a-00d5fcd7e591",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"38"
]
},
"execution_count": 38,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"38"
]
},
{
"cell_type": "code",
"execution_count": 39,
"id": "6b08762d-44b8-40af-a325-03890249fcc9",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"39"
]
},
"execution_count": 39,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"39"
]
},
{
"cell_type": "code",
"execution_count": 40,
"id": "1cfa4d66-764f-4a5f-8b2e-f180193f26f7",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"40"
]
},
"execution_count": 40,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"40"
]
},
{
"cell_type": "code",
"execution_count": 41,
"id": "410284ce-f87c-41ec-b56f-790033d3f94e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"41"
]
},
"execution_count": 41,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"41"
]
},
{
"cell_type": "code",
"execution_count": 42,
"id": "efe3a146-14ca-4a70-a1bd-df160ba3e48c",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"42"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"42"
]
},
{
"cell_type": "code",
"execution_count": 43,
"id": "921f6299-0990-4c7b-87af-1243036e93fb",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"43"
]
},
"execution_count": 43,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"43"
]
},
{
"cell_type": "code",
"execution_count": 44,
"id": "152e2d36-22f6-49c6-9359-bd2dcaf33873",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"44"
]
},
"execution_count": 44,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"44"
]
},
{
"cell_type": "code",
"execution_count": 45,
"id": "2dc3921f-0357-47f1-a084-60abb4c7229c",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"45"
]
},
"execution_count": 45,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"45"
]
},
{
"cell_type": "code",
"execution_count": 46,
"id": "a2732ff1-1849-4b24-b6f3-63cb438ebdb1",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"46"
]
},
"execution_count": 46,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"46"
]
},
{
"cell_type": "code",
"execution_count": 47,
"id": "f5cd1375-0625-4c9f-a603-2e662570d6ca",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"47"
]
},
"execution_count": 47,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"47"
]
},
{
"cell_type": "code",
"execution_count": 48,
"id": "e496b693-e4c0-46b4-baa8-e6850edadd14",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"48"
]
},
"execution_count": 48,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"48"
]
},
{
"cell_type": "code",
"execution_count": 49,
"id": "5e0f44b7-598c-4038-95ac-e10d328724bf",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"49"
]
},
"execution_count": 49,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"49"
]
},
{
"cell_type": "code",
"execution_count": 50,
"id": "c02e8b2a-76b1-4202-bd0b-53550455a11e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"50"
]
},
"execution_count": 50,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"50"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

JupyterLab 3.1.7 reproducer of cell issue

Binder

jupyterlab==3.1.7
{
"numberCellsToRenderDirectly": 10,
"observedBottomMargin": "1px",
"observedTopMargin": "1px",
"renderCellOnIdle": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment