teaching-on-testbeds / ml-energy

MIT License
0 stars 0 forks source link

Change notebook format version so it does not have `id` field in each cell #8

Closed ffund closed 6 months ago

ffund commented 6 months ago

I figured out why the Makefile generates an id field in each cell (making it annoying to see what has changed, when reviewing commits)! Apparently it is a new thing in notebook format 4.5.

We should be able to fix it by prepending some front matter to each notebook -

---
author: 'Fraida Fund'
jupyter:
  kernelspec:
    display_name: Python 3
    name: python3
  nbformat: 4
  nbformat_minor: 0
---