Skip to content

Commit

Permalink
Try demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuboudreau committed Oct 1, 2024
1 parent 77bffac commit adf8925
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions figures/2 T1 mapping/figure_2-2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,19 @@
"\n",
"display(HTML('ir_fig_2.html'))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import plotly.express as px\n",
"\n",
"df = px.data.gapminder().query(\"country=='Canada'\")\n",
"fig = px.line(df, x=\"year\", y=\"lifeExp\", title='Life expectancy in Canada')\n",
"fig.show()"
]
}
],
"metadata": {
Expand Down

0 comments on commit adf8925

Please sign in to comment.