Skip to content

Commit

Permalink
Fix labels in example data
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed May 16, 2024
1 parent 3aa544e commit 7454c8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Binary file modified example/data/eigs.arrow
Binary file not shown.
19 changes: 1 addition & 18 deletions example/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"data = pathlib.Path(\"data/eigs.arrow\").read_bytes()\n",
"\n",
"df = pl.read_ipc(data).to_pandas()\n",
"df[\"name\"] = df[\"name\"].map(lambda x: \"A2\" if x == \"A0\" else \"B4\" if x == \"B2\" else x)\n",
"axis_fields = [\"E1\", \"E2\", \"E3\", \"E4\", \"E5\", \"E6\"]\n",
"label_colors = {\"A1\": apple_vintage[\"red\"], \"A2\": apple_vintage[\"yellow\"], \"B0\": apple_vintage[\"green\"], \"B1\": apple_vintage[\"blue\"], \"B4\": apple_vintage[\"violet\"]}\n",
"label_field = \"name\"\n",
Expand All @@ -91,7 +90,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9ba6f7fd3f4a41f5a909b8abd3e1721e",
"model_id": "e4e11d2078524175922d884ffc38c8cf",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -113,22 +112,6 @@
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d7ff2d8e-6280-409c-8eec-990ade9e6265",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "4163b846-6f94-4bb3-8db4-dd629474f4b1",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 7454c8d

Please sign in to comment.