Skip to content

Commit

Permalink
small fix on f strings
Browse files Browse the repository at this point in the history
  • Loading branch information
samirdarouich committed May 16, 2024
1 parent 9815ba9 commit decc3d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/AnalysisThermoML2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -138,7 +138,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -158,7 +158,7 @@
"for _,df in molality_data.groupby(\"Solvent: Mole fraction of choline chloride\"):\n",
"\n",
" for _, dff in df.groupby(\"Temperature, K\"):\n",
" ax.errorbar( dff[\"Pressure, kPa\"]*1000, dff[\"mean\"],dff[\"95_confidence\"]/2, label=r'$x_\\mathrm{Ch^+,Cl^-} =$' + f'{dff[\"Solvent: Mole fraction of choline chloride\"].iloc[0]}; T = {dff['Temperature, K'].iloc[0]}' )\n",
" ax.errorbar( dff[\"Pressure, kPa\"]*1000, dff[\"mean\"],dff[\"95_confidence\"]/2, label=r'$x_\\mathrm{Ch^+,Cl^-} =$' + f'{dff[\"Solvent: Mole fraction of choline chloride\"].iloc[0]}; T = {dff[\"Temperature, K\"].iloc[0]}' )\n",
"\n",
"ax.legend()\n",
"ax.set_xlabel(\"Pressure / Pa\")\n",
Expand Down

0 comments on commit decc3d7

Please sign in to comment.