Skip to content

Commit

Permalink
style(notebooks): remove trailing spaces and update Python kernel info
Browse files Browse the repository at this point in the history
- Remove trailing whitespace in import statements for better code style adherence.
- Update the Jupyter notebook's kernel specification from 'nams' to 'python3' for clarity.
- Update the Python version in the notebook metadata from 3.8.10 to 3.8.13 to reflect the use of a newer interpreter.

No functional changes are made to the code, ensuring no impact on existing functionality.
  • Loading branch information
ericmjl committed Mar 11, 2024
1 parent d90a8f2 commit 78182f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions notebooks/01-introduction/03-viz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
},
"outputs": [],
"source": [
"import nxviz as nv \n",
"import nxviz as nv\n",
"from nxviz import annotate\n",
"\n",
"\n",
Expand Down Expand Up @@ -294,7 +294,7 @@
"outputs": [],
"source": [
"from nxviz import plots\n",
"import matplotlib.pyplot as plt \n",
"import matplotlib.pyplot as plt\n",
"\n",
"nv.hive(G, group_by=\"gender\", node_color_by=\"gender\")\n",
"annotate.hive_group(G, group_by=\"gender\")"
Expand Down Expand Up @@ -355,7 +355,7 @@
"kernelspec": {
"display_name": "nams",
"language": "python",
"name": "nams"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -367,7 +367,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 78182f8

Please sign in to comment.