How to save the visualization made in pygwalker in Juypter Cell?

How to save the chart made in pygwalker in the juypter cell, so that you can load the same chart after re-run the notebook.

You can add spec as a json file path which will allow pygwalker to save the chart information automatically in the file.

import pygwalker as pyg
walker = pyg.walk(df, spec="first_explore.json")

More details: PyGWalker 0.2. Update – Kanaries