Skip to content

Commit

Permalink
Update 2024-06-28-Charge_Density_Difference.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudo-Raheel authored Jul 8, 2024
1 parent 9f30427 commit 7706b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/2024-06-28-Charge_Density_Difference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
"ax.set_xlim([0,35])\n",
"\n",
"#cumulative integral \n",
"integ_elec = cumtrapz(planar_avg, c_arr, initial=0)\n",
"integ_elec = cumulative_trapezoid(planar_avg, c_arr, initial=0)\n",
"\n",
"ax.plot(c_arr,planar_avg,lw=2,color='purple',label='density')\n",
"ax.plot(c_arr, integ_elec, lw=2, color='black', ls='--',label='cumulative integral')\n",
Expand Down

0 comments on commit 7706b52

Please sign in to comment.