jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace yournotebookname.ipynb
Run this command from anaconda prompt terminal.