ticoneva / pystata-kernel

Jupyter kernel for Stata based on pystata
GNU General Public License v3.0
13 stars 6 forks source link

add execution count tracking #2

Closed chisquared closed 2 years ago

chisquared commented 2 years ago

The more general ipykernel.kernelbase.Kernel includes execution tracking, but ipykernel.ipkernel.IPythonKernel assumes the execution_count comes from the shell. This commit manually sets the execution count, so that it will update as cells are run.