AttributeError: module 'pymc' has no attribute 'save_trace' when trying to save trace

Usually I do something like:

import arviz as az
model_fpath = '/Your/Path/Here.nc'
idata.to_netcdf(filepath)
# then to read:
idata = az.from_netcdf(filepath)