044f5f26e1b661c74c6cb60aef2906a6e372a2f1,doc/nbconvert_filter.py,RemoveWidgetNotice,preprocess_cell,#RemoveWidgetNotice#,10

Before Change


                        to_delete.append(o)
            for o in to_delete:
                //print("removing: ", o)
                outputs.remove(o)

        return cell, resources

After Change



    def preprocess_cell(self, cell, resources, index):
        if "outputs" in cell:
            outputs_ = [o for o in cell["outputs"]  // list of dicts
                        if ("data" in o and "application/vnd.jupyter.widget-view+json" not in o["data"])
                       ]
            cell["outputs"] = outputs_
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: markovmodel/PyEMMA
Commit Name: 044f5f26e1b661c74c6cb60aef2906a6e372a2f1
Time: 2018-09-10
Author: m.scherer@fu-berlin.de
File Name: doc/nbconvert_filter.py
Class Name: RemoveWidgetNotice
Method Name: preprocess_cell


Project Name: 1adrianb/face-alignment
Commit Name: f90efe38fb0b1019e5bdc06b8a325aefe44893ea
Time: 2018-12-19
Author: bulat.adrian@gmail.com
File Name: face_alignment/detection/sfd/sfd_detector.py
Class Name: SFDDetector
Method Name: __init__


Project Name: astroML/astroML
Commit Name: 92a1b9cecc160008faebbf4244ebe2761a0f8557
Time: 2012-10-23
Author: morgan@fenrir.(none)
File Name: astroML/plotting/tools.py
Class Name:
Method Name: devectorize_axes


Project Name: scikit-image/scikit-image
Commit Name: f8d9a6c144ef84bad2478a4ba4eedb1c559274e0
Time: 2020-11-11
Author: rfezzani@gmail.com
File Name: skimage/_shared/coord.py
Class Name:
Method Name: ensure_spacing